<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/15102" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-12-09T10:01:16-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/15102</id>

		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-12-09T08:41:56-04:00</updated>

		<published>2007-12-09T08:41:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79146#p79146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79146#p79146"/>
		<title type="html"><![CDATA[[SOLVED] ban times with newban and newchanban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79146#p79146"><![CDATA[
Thanks  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> thought it would be the same as dcc +ban <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Dec 09, 2007 8:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2007-12-09T08:37:51-04:00</updated>

		<published>2007-12-09T08:37:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79145#p79145</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79145#p79145"/>
		<title type="html"><![CDATA[[SOLVED] ban times with newban and newchanban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79145#p79145"><![CDATA[
the newban and newchanban time is setted in minutes, nothing else.<br>If you want to add the time formating (eg 3d2h), you have to create a tcl wich is able to parse the string and convert it in minutes.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Sun Dec 09, 2007 8:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-12-09T10:01:16-04:00</updated>

		<published>2007-12-09T08:32:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79144#p79144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79144#p79144"/>
		<title type="html"><![CDATA[[SOLVED] ban times with newban and newchanban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79144#p79144"><![CDATA[
I've been adding bans by dcc +ban for a while. When i started using a script to add them i noticed that some of the bantimes where off a bit, I think i've got the syntax wrong for the time option in newban/newchanban. I played around in dcc chat with the .tcl newban command. This was the output: <blockquote class="uncited"><div>&lt;Me&gt; .tcl newban "*!*@test.com" Me "No Spamming" 360300s none<br>&lt;bot&gt; Tcl: <br>&lt;Me&gt; .bans all<br>&lt;bot&gt; [10:45] #Me# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #Channel)<br>&lt;bot&gt; ! [  1] *!*@test.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; Channel bans for #Channel:   (! = not active, * = not placed by bot)<br>&lt;Me&gt; .tcl newban "*!*@test-2.com" Me "No Spamming" 360300 none<br>&lt;bot&gt; Tcl: <br>&lt;Me&gt; .bans all<br>&lt;bot&gt; [10:45] #Me# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #Channel)<br>&lt;bot&gt; ! [  1] *!*@test-2.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; ! [  2] *!*@test.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;Me&gt; .tcl newban "*!*@test-3.com" Me "No Spamming." 4h5m none<br>&lt;bot&gt; Tcl: <br>&lt;Me&gt; .bans all<br>&lt;bot&gt; [10:46] #Me# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #Channel)<br>&lt;bot&gt; ! [  1] *!*@test-3.com (expires at 10:50)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:46<br>&lt;bot&gt; ! [  2] *!*@test-2.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; ! [  3] *!*@test.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; Channel bans for #Channel:   (! = not active, * = not placed by bot)<br>&lt;Me&gt; .tcl newban "*!*@test-4.com" Me "No Spamming." 0d4h5m none<br>&lt;bot&gt; Tcl: <br>&lt;Me&gt; .bans all<br>&lt;bot&gt; [10:47] #Me# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #Channel)<br>&lt;bot&gt; ! [  1] *!*@test-4.com (perm)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:47<br>&lt;bot&gt; ! [  2] *!*@test-3.com (expires at 10:50)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:46<br>&lt;bot&gt; ! [  3] *!*@test-2.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; ! [  4] *!*@test.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; Channel bans for #Channel:   (! = not active, * = not placed by bot)<br>&lt;Me&gt; .tcl newban "*!*@test-5.com" Me "No Spamming." 4h none<br>&lt;bot&gt; Tcl: <br>&lt;Me&gt; .bans all<br>&lt;bot&gt; [10:47] #Me# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #Channel)<br>&lt;bot&gt; ! [  1] *!*@test-5.com (expires at 10:51)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:47<br>&lt;bot&gt; ! [  2] *!*@test-4.com (perm)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:47<br>&lt;bot&gt; ! [  3] *!*@test-3.com (expires at 10:50)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:46<br>&lt;bot&gt; ! [  4] *!*@test-2.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; ! [  5] *!*@test.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; Channel bans for #Channel:   (! = not active, * = not placed by bot)<br>&lt;Me&gt; .tcl newban "*!*@test-6.com" Me "No Spamming." 4h0m none<br>&lt;bot&gt; Tcl: <br>&lt;Me&gt; .bans all<br>&lt;bot&gt; [10:47] #Me# bans all<br>&lt;bot&gt; Global bans:   (! = not active on #Channel)<br>&lt;bot&gt; ! [  1] *!*@test-6.com (expires at 10:51)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:47<br>&lt;bot&gt; ! [  2] *!*@test-5.com (expires at 10:51)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:47<br>&lt;bot&gt; ! [  3] *!*@test-4.com (perm)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:47<br>&lt;bot&gt; ! [  4] *!*@test-3.com (expires at 10:50)<br>&lt;bot&gt;         Me: No Spamming.<br>&lt;bot&gt;         Created 10:46<br>&lt;bot&gt; ! [  5] *!*@test-2.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; ! [  6] *!*@test.com (expires in 250 days)<br>&lt;bot&gt;         Me: No Spamming<br>&lt;bot&gt;         Created 10:45<br>&lt;bot&gt; Channel bans for #Channel:   (! = not active, * = not placed by bot)</div></blockquote> The script is changing the given %d%h%m given with the !ban syntax into seconds (ie. 360300) and using it as the ban time. And to report how long the ban has been set for to the channel using [duration &lt;expire&gt;]. Overly complicated this :/ or it just a scripting error  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><br><br>Working great now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">) thanks for all the help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Dec 09, 2007 8:32 am</p><hr />
]]></content>
	</entry>
	</feed>
