<?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/15253" />

	<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>2008-01-15T11:49:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-15T11:49:49-04:00</updated>

		<published>2008-01-15T11:49:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80084#p80084</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80084#p80084"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80084#p80084"><![CDATA[
So does anyone know how to include badwords.txt in my script so i would be able just edit that file to add more badwords for bot react?<br><div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time in minutes # use 0 to make perm set actban 10   bind ctcp - ACTION ban:act proc ban:act { nick uhost hand dest key text } {   #uncomment next line to exclude chanops if {[isop $nick] || [matchattr $hand f|f $dest]} { return 0 }   newban ~q:*!$uhost $::botnick action_ban $::actban   foreach chan [channels] {     if [onchan $nick $chan] { pushmode $chan +b ~q:*!*@[lindex [split $uhost @] 1]  }    } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Tue Jan 15, 2008 11:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-14T10:55:53-04:00</updated>

		<published>2008-01-14T10:55:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80051#p80051</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80051#p80051"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80051#p80051"><![CDATA[
Thanks a lot. I wandered if there was anyhing to do, so that the bot would react faster.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Mon Jan 14, 2008 10:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2008-01-14T10:28:48-04:00</updated>

		<published>2008-01-14T10:28:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80050#p80050</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80050#p80050"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80050#p80050"><![CDATA[
You should use braces in 'if' expressions.<br><br>Have a look at this example to see the difference in speed <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>% time { expr 10 * 5 } 1000<br>2.833 microseconds per iteration<br>% time { expr {10 * 5} } 1000<br>0.262 microseconds per iteration</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jan 14, 2008 10:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T21:49:50-04:00</updated>

		<published>2008-01-13T21:49:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80040#p80040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80040#p80040"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80040#p80040"><![CDATA[
Thanks a lot, but i'm currently working on:<br><div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time in minutes # use 0 to make perm set actban 10   bind ctcp - ACTION ban:act proc ban:act { nick uhost hand dest key text } {   #uncomment next line to exclude chanops if {[isop $nick] || [matchattr $hand f|f $dest]} { return 0 }  newban ~q:*!$uhost $::botnick action_ban $::actban   foreach chan [channels] {     if [onchan $nick $chan] { pushmode $chan +b ~q:*!*@[lindex [split $uhost @] 1]  }    } } </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 9:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2008-01-13T21:43:21-04:00</updated>

		<published>2008-01-13T21:43:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80037#p80037</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80037#p80037"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80037#p80037"><![CDATA[
<blockquote class="uncited"><div>Yes it does offer ban removal see this ? <blockquote class="uncited"><div>#Set the amount of time in minutes to ban the user for. (in mins)<br><br>#(By default if you do not set a value the script will assume it to be 60 minutes)<br><br>set swearbantime "30"</div></blockquote></div></blockquote>change the '30' to '10'  <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=2706">YooHoo</a> — Sun Jan 13, 2008 9:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T21:43:16-04:00</updated>

		<published>2008-01-13T21:43:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80036#p80036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80036#p80036"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80036#p80036"><![CDATA[
Sorted the ban time with a .chanser #channel ban-time 10. Works like a charm. Can anyone give me a hand on badwords.txt file, how to implement it into the script?<br><br>Appreciate everyones input.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 9:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T21:01:13-04:00</updated>

		<published>2008-01-13T21:01:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80034#p80034</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80034#p80034"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80034#p80034"><![CDATA[
Thanks a lot. That really helped.<br>Any ideas how to make it to remove the ban in 10 minutes?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 9:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-01-13T20:07:42-04:00</updated>

		<published>2008-01-13T20:07:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80032#p80032</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80032#p80032"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80032#p80032"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>I've found this one, but it bans everyone, even if the user has +f flag on the bot and it does not remove bans from the channel after the ban expires...<br>How do I change it, not to ban users that have +f flag?<br><div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time in minutes# use 0 to make permset actban 10bind ctcp - ACTION ban:actproc ban:act { nick uhost hand dest key text } {  #uncomment next line to exclude chanops  if [isop $nick] return  newban ~q:*!$uhost $::botnick action_ban $::actban  foreach chan [channels] {    if [onchan $nick $chan] { pushmode $chan +b ~q:*!*@[lindex [split $uhost @] 1]  }  }}</code></pre></div></div></blockquote>Replace<div class="codebox"><p>Code: </p><pre><code>if [isop $nick] return</code></pre></div>with<div class="codebox"><p>Code: </p><pre><code>if {[isop $nick] || [matchattr $hand f|f $dest]} { return 0 }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jan 13, 2008 8:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T16:37:46-04:00</updated>

		<published>2008-01-13T16:37:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80029#p80029</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80029#p80029"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80029#p80029"><![CDATA[
Sorry have not seen the ban time.<br>Will try to edit then, to fit it to my needs.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2008-01-13T16:33:35-04:00</updated>

		<published>2008-01-13T16:33:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80028#p80028</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80028#p80028"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80028#p80028"><![CDATA[
<blockquote class="uncited"><div>Yeah this is a really big badwords engine, you can set load of things. But it does not offer ban removal after set time, bans cannot include ~q:*!*@* and there is no file.txt where I would be able to edit them badwords easily.</div></blockquote>Yes it does offer ban removal see this ? <blockquote class="uncited"><div>#Set the amount of time in minutes to ban the user for. (in mins)<br><br>#(By default if you do not set a value the script will assume it to be 60 minutes)<br><br>set swearbantime "30"</div></blockquote>As for the easy to edit list, Maybe awyeah can help you with this? It has never been an issue as most of the bad words are covered out of the box. Easy enough to edit though.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Sun Jan 13, 2008 4:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T16:17:16-04:00</updated>

		<published>2008-01-13T16:17:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80027#p80027</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80027#p80027"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80027#p80027"><![CDATA[
Yeah this is a really big badwords engine, you can set load of things. But it does not offer ban removal after set time, bans cannot include ~q:*!*@* and there is no file.txt where I would be able to edit them badwords easily.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 4:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Callisto]]></name></author>
		<updated>2008-01-13T15:56:27-04:00</updated>

		<published>2008-01-13T15:56:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80025#p80025</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80025#p80025"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80025#p80025"><![CDATA[
This is the one I like to use. It is easy to edit and customise to your needs. Thanks awyeah it works great.<br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1019" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... ad&amp;id=1019</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6064">Callisto</a> — Sun Jan 13, 2008 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T15:55:13-04:00</updated>

		<published>2008-01-13T15:55:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80024#p80024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80024#p80024"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80024#p80024"><![CDATA[
Hi,<br><br>I've found this one, but it bans everyone, even if the user has +f flag on the bot and it does not remove bans from the channel after the ban expires...<br>How do I change it, not to ban users that have +f flag?<br><div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time in minutes# use 0 to make permset actban 10bind ctcp - ACTION ban:actproc ban:act { nick uhost hand dest key text } {  #uncomment next line to exclude chanops  if [isop $nick] return  newban ~q:*!$uhost $::botnick action_ban $::actban  foreach chan [channels] {    if [onchan $nick $chan] { pushmode $chan +b ~q:*!*@[lindex [split $uhost @] 1]  }  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[g0m3z]]></name></author>
		<updated>2008-01-13T14:27:09-04:00</updated>

		<published>2008-01-13T14:27:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80019#p80019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80019#p80019"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80019#p80019"><![CDATA[
Yes there is a lot of badwords scripts, but they all are huge and bulky. I just need it simple and tiny.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9509">g0m3z</a> — Sun Jan 13, 2008 2:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-01-13T14:14:20-04:00</updated>

		<published>2008-01-13T14:14:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80018#p80018</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80018#p80018"/>
		<title type="html"><![CDATA[Hi, need help to edit script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80018#p80018"><![CDATA[
You didn't search well because you're not requesting anything new.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jan 13, 2008 2:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
