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

	<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>2003-07-10T06:34:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-10T06:34:07-04:00</updated>

		<published>2003-07-10T06:34:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23260#p23260</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23260#p23260"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23260#p23260"><![CDATA[
read doc/tcl-commands.doc<br>on how to bind.<br>u need to bind mode. its not so hard if u try it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Thu Jul 10, 2003 6:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kurt_nirvana]]></name></author>
		<updated>2003-07-10T06:28:37-04:00</updated>

		<published>2003-07-10T06:28:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23259#p23259</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23259#p23259"/>
		<title type="html"><![CDATA[...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23259#p23259"><![CDATA[
can you make that on the tcl pleaaaase <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>thx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3282">kurt_nirvana</a> — Thu Jul 10, 2003 6:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-10T06:25:44-04:00</updated>

		<published>2003-07-10T06:25:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23257#p23257</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23257#p23257"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23257#p23257"><![CDATA[
Make a bind for mode +b and check if nick is chanserv then killchanban $ban..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Jul 10, 2003 6:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kurt_nirvana]]></name></author>
		<updated>2003-07-10T05:49:05-04:00</updated>

		<published>2003-07-10T05:49:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23253#p23253</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23253#p23253"/>
		<title type="html"><![CDATA[ops]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23253#p23253"><![CDATA[
one more thing. <br>when the registered ops in chanserv are banned for pub, the chanserv unbans them and when they enter again to the channel the bot bans them again. How to make this stop?<br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3282">kurt_nirvana</a> — Thu Jul 10, 2003 5:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-08T13:05:09-04:00</updated>

		<published>2003-07-08T13:05:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23201#p23201</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23201#p23201"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23201#p23201"><![CDATA[
first replace the:<div class="codebox"><p>Code: </p><pre><code>timer 20 "putserv \"INVITE $nick $chan\"" </code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>timer 20 [list putserv "INVITE $nick $chan"]</code></pre></div>move the *invite* thing before the "break" and it should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jul 08, 2003 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kurt_nirvana]]></name></author>
		<updated>2003-07-08T08:49:50-04:00</updated>

		<published>2003-07-08T08:49:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23193#p23193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23193#p23193"/>
		<title type="html"><![CDATA[hmm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23193#p23193"><![CDATA[
bind pubm - {* *#*} my:spam <br><br>proc my:spam {nick uhost hand chan text} { <br>if {![botisop $chan] || [isop $nick $chan]} { return } <br>foreach bla [split $text] { <br>if {[string match "#" $bla]} { continue } <br>if {[string match "#*" $bla]} { <br>if {[validchan $bla]} { <br>continue <br>} <br>set mask "*!*@[lindex [split $uhost @] 1]" <br>newban $mask Spam "\002 pela \002Pub\002 no \002$chan\002 " 20<br>timer 20 "putserv \"INVITE $nick $chan\"" <br>break <br>} <br>} <br>}<br><br>IT WORKS <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3282">kurt_nirvana</a> — Tue Jul 08, 2003 8:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-07-08T04:59:56-04:00</updated>

		<published>2003-07-08T04:59:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23192#p23192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23192#p23192"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23192#p23192"><![CDATA[
try adding this after the ban line.<br>timer 20 "putserv \"INVITE $chan $nick\""<br><br>but I'm not sure if there is a command like INVITE in tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jul 08, 2003 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kurt_nirvana]]></name></author>
		<updated>2003-07-07T16:25:44-04:00</updated>

		<published>2003-07-07T16:25:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23184#p23184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23184#p23184"/>
		<title type="html"><![CDATA[:)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23184#p23184"><![CDATA[
<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> thx, but that on a tcl will be like what??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3282">kurt_nirvana</a> — Mon Jul 07, 2003 4:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-07-07T14:47:50-04:00</updated>

		<published>2003-07-07T14:47:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23181#p23181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23181#p23181"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23181#p23181"><![CDATA[
You can do this in two way (or many, right now I have only two in my mind):<br>1. after a spammer is banned make a timer equal with the ban time wich will do the invite.<br>2. store in an array the mask and the nick of the spammer and upon a ban expire match the mask of the ban and invite the *nick*..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jul 07, 2003 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kurt_nirvana]]></name></author>
		<updated>2003-07-07T12:54:12-04:00</updated>

		<published>2003-07-07T12:54:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23180#p23180</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23180#p23180"/>
		<title type="html"><![CDATA[...]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23180#p23180"><![CDATA[
someone out there <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=3282">kurt_nirvana</a> — Mon Jul 07, 2003 12:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kurt_nirvana]]></name></author>
		<updated>2003-07-06T06:01:38-04:00</updated>

		<published>2003-07-06T06:01:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23122#p23122</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23122#p23122"/>
		<title type="html"><![CDATA[invite after pub ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23122#p23122"><![CDATA[
Hi. can u help me? how to make the bot invite the ppl who was ban by the bot when the ban time is over? <br>Thx<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3282">kurt_nirvana</a> — Sun Jul 06, 2003 6:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-25T00:49:36-04:00</updated>

		<published>2003-06-25T00:49:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22528#p22528</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22528#p22528"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22528#p22528"><![CDATA[
This line:<blockquote class="uncited"><div>} || [isop $nick $chan]} { return } </div></blockquote>It should be:<div class="codebox"><p>Code: </p><pre><code>if {[isop $nick $chan]} { return } </code></pre></div>Anyway, here is the how the code should look like:<div class="codebox"><p>Code: </p><pre><code>bind pubm - {* *#*} my:spam proc my:spam {nick uhost hand chan text} {   if {[isop $nick $chan]} { return }   foreach bla [split $text] {     if {[string match "#" $bla]} { continue }     if {[string match "#*" $bla]} {       if {[validchan $bla]} {         continue       }       set mask "*!*@[lindex [split $uhost @] 1]"       newban $mask Spam "\00220 minutes\002 ban for \002Spaming\002 within \002$chan\002 " 20       if {[string match "*@*.users.undernet.org" $uhost]} {         putserv "PRIVMSG X :ban $chan $mask 336 100 spaming"       }      break     }   } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Jun 25, 2003 12:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rileyvrh]]></name></author>
		<updated>2003-06-24T18:43:29-04:00</updated>

		<published>2003-06-24T18:43:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22516#p22516</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22516#p22516"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22516#p22516"><![CDATA[
&lt;Cowgyrl&gt; [17:40] Tcl error in file 'bot4.con':<br>&lt;Cowgyrl&gt; [17:40] wrong # args: should be "proc name args body"<br>&lt;Cowgyrl&gt;     while executing<br>&lt;Cowgyrl&gt; "proc my:spam {nick uhost hand chan text} { <br>&lt;Cowgyrl&gt;   if {[string match "*@*.users.undernet.org" $uhost]} { <br>&lt;Cowgyrl&gt; putserv "PRIVMSG X :ban $chan $mask 336 100 spami..."<br>&lt;Cowgyrl&gt;     (file "scripts/spam.tcl" line 3)<br>&lt;Cowgyrl&gt;     invoked from within<br>&lt;Cowgyrl&gt; "source scripts/spam.tcl"<br>&lt;Cowgyrl&gt;     (file "bot4.con" line 1100)<br><br>This is what the tcl looks like ? Can see what i did wrong?<br><br>bind pubm - {* *#*} my:spam <br><br>proc my:spam {nick uhost hand chan text} { <br>  if {[string match "*@*.users.undernet.org" $uhost]} { <br>putserv "PRIVMSG X :ban $chan $mask 336 100 spaming" <br>} || [isop $nick $chan]} { return }<br>   foreach bla [split $text] { <br>   if {[string match "#" $bla]} { continue }<br> if {[string match "#*" $bla]} { <br>      if {[validchan $bla]} { <br>        continue <br>      } <br>      set mask "*!*@[lindex [split $uhost @] 1]" <br>      newban $mask Spam "\00220 minutes\002 ban for \002Spaming\002 within \002$chan\002 " 20 <br>      break <br>    } <br>  } <br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3392">rileyvrh</a> — Tue Jun 24, 2003 6:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rileyvrh]]></name></author>
		<updated>2003-06-24T18:34:28-04:00</updated>

		<published>2003-06-24T18:34:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22515#p22515</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22515#p22515"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22515#p22515"><![CDATA[
ceasar if this works i'll shave my head with your name in it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3392">rileyvrh</a> — Tue Jun 24, 2003 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-24T16:46:05-04:00</updated>

		<published>2003-06-24T16:46:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22507#p22507</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22507#p22507"/>
		<title type="html"><![CDATA[Special anti Advertising Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22507#p22507"><![CDATA[
In this case drop the "![botisop $chan]" and add before the "break" this lines:<div class="codebox"><p>Code: </p><pre><code>if {[string match "*@*.users.undernet.org" $uhost]} {putserv "PRIVMSG X :ban $chan $mask 336 100 add a reason here.."}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jun 24, 2003 4:46 pm</p><hr />
]]></content>
	</entry>
	</feed>
