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

	<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-08-14T07:58:47-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arcane]]></name></author>
		<updated>2003-08-14T07:58:47-04:00</updated>

		<published>2003-08-14T07:58:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=24903#p24903</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=24903#p24903"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=24903#p24903"><![CDATA[
dunno if its too late, but i have to correct this:<div class="codebox"><p>Code: </p><pre><code> if {![string match "*#*" $text] || ![string match "*www.*" $text] || ![string match "*http://*" $text] || ![string match "*ftp://*" $text]} {     return   } </code></pre></div>replace here all "||"s with "&amp;&amp;"s.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2617">arcane</a> — Thu Aug 14, 2003 7:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-03T09:08:28-04:00</updated>

		<published>2003-06-03T09:08:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21177#p21177</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21177#p21177"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21177#p21177"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind ctcp * ACTION spam:actionproc spam:action {nick uhost hand dest keyword text} {   if {[lindex [split $dest "@"] 0] == $::botnick || [lindex [split $dest "@"] 1] != ""} {     return   }   if {[matchattr $hand of|fo $dest] || [isop $nick $dest]} {     return   }   if {![string match "*#*" $text] || ![string match "*www.*" $text] || ![string match "*http://*" $text] || ![string match "*ftp://*" $text]} {     return   }           adduser $nick [maskhost [getchanhost $nick $dest]]       set mask [maskhost [getchanhost $nick $dest]]  putkick $nick $dest "Action Advertisement detected - Banned 10mins."  putquick "mode $dest +b $mask"  utimer 600 "putserv \"mode $dest -b $mask\""                return 0}</code></pre></div>Not working, its not giving any errors in the partyline, but its not kicking or bannin the user. where's the problem ?<br>i tried your ban code (set mask.... newchanban.....) it also didn't kick or ban.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Jun 03, 2003 9:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-03T00:50:08-04:00</updated>

		<published>2003-06-03T00:50:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21158#p21158</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21158#p21158"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21158#p21158"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc spam:action {nick uhost hand dest keyword text} {  if {[lindex [split $dest "@"] 0] == $::botnick || [lindex [split $dest "@"] 1] != ""} {    return  }  if {[matchattr $hand of|fo $dest] || [isop $nick $dest]} {    return  }  if {![string match "*#*" $text] || ![string match "*www.*" $text] || ![string match "*http://*" $text]} {    return  }  set mask "*!*@[lindex [split $uhost @] 1]"  newchanban $dest $mask Spam "\00224\002 hours ban for spaming within $dest" 1440}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jun 03, 2003 12:50 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-02T16:22:43-04:00</updated>

		<published>2003-06-02T16:22:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21143#p21143</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21143#p21143"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21143#p21143"><![CDATA[
problem :S<br>this will kick a user for any action he does...<br>I just want it to kick the user when he says an advertisment word in his action... like for example : /me join #ss #ss #ss #ss........<br><br>what should i add or change ?<br><br>should i replace<div class="codebox"><p>Code: </p><pre><code>bind ctcp * ACTION spam:action</code></pre></div>with something like ?<div class="codebox"><p>Code: </p><pre><code>bind ctcp * "*spamword*" spam:action</code></pre></div>like the <strong class="text-strong">bind pub</strong>.... ??<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 02, 2003 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-02T16:09:23-04:00</updated>

		<published>2003-06-02T16:09:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21142#p21142</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21142#p21142"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21142#p21142"><![CDATA[
ok thanx <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>i now use this :<div class="codebox"><p>Code: </p><pre><code>proc advert {nick uhost hand chan rest} {  global botnick ban-time aBan advif [isop $nick $chan]==0 {            adduser $nick [maskhost [getchanhost $nick $chan]]       set banadver [maskhost [getchanhost $nick $chan]] putquick "KICK $chan $nick :Advertising detected - Banned 10mins." putquick "mode $chan +b $banadver" utimer 600 "putserv \"mode $chan -b $banadver\""          return 0        }}bind ctcp * ACTION spam:action proc spam:action {nick uhost hand dest keyword text} {  if {[lindex [split $dest "@"] 0] == $::botnick || [lindex [split $dest "@"] 1] != ""} {    return  }          adduser $nick [maskhost [getchanhost $nick $dest]]       set banadver [maskhost [getchanhost $nick $dest]] putquick "KICK $dest $nick :Advertising detected - Banned 10mins." putquick "mode $dest +b $banadver" utimer 600 "putserv \"mode $dest -b $banadver\""        return 0}putlog "Advertise kick script loaded..."</code></pre></div>thats a good improvement right ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 02, 2003 4:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-02T13:49:47-04:00</updated>

		<published>2003-06-02T13:49:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21138#p21138</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21138#p21138"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21138#p21138"><![CDATA[
Something like this.. add it to your tcl file but don't forget to add the ban ning code..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jun 02, 2003 1:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-02T13:40:54-04:00</updated>

		<published>2003-06-02T13:40:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21137#p21137</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21137#p21137"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21137#p21137"><![CDATA[
ok i just add it this code under the code in the script ? or what ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Jun 02, 2003 1:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-02T00:49:25-04:00</updated>

		<published>2003-06-02T00:49:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21055#p21055</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21055#p21055"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21055#p21055"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind ctcp * ACTION spam:actionproc spam:action {nick uhost hand dest keyword text} {  if {[lindex [split $dest "@"] 0] == $::botnick || [lindex [split $dest "@"] 1] != ""} {    return  }  # your rest of the banning code ..}</code></pre></div>The *if* makes shure that the destination of the action is the channel, not the botnick.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Jun 02, 2003 12:49 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-01T16:31:19-04:00</updated>

		<published>2003-06-01T16:31:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21042#p21042</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21042#p21042"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21042#p21042"><![CDATA[
Quoted from tcl-commands.doc:<blockquote class="uncited"><div>(32) ACT (stackable)<br>bind act &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>proc-name &lt;handle&gt; &lt;channel#&gt; &lt;action&gt; <br> <br>Description: when someone does an action on the botnet, it invokes<br>this binding. flags are ignored; the mask is matched against the<br>text of the action and can support wildcards.<br>Module: core</div></blockquote>I tried.. but i didn't understand... like pub and pubm make some sense but the ACT is a little complicated and also, they used PUB and PUBM , not MSG... so i don't know how to make it work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jun 01, 2003 4:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-01T15:54:45-04:00</updated>

		<published>2003-06-01T15:54:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21036#p21036</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21036#p21036"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21036#p21036"><![CDATA[
No, I mean you read from the tcl-commands.doc file the bind ctcp and make a proc using the instructions you'll find there to build up the proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Jun 01, 2003 3:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-06-01T11:06:33-04:00</updated>

		<published>2003-06-01T11:06:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21024#p21024</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21024#p21024"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21024#p21024"><![CDATA[
u mean i only need to add <strong class="text-strong">bind ctcp * ACTION your:proc</strong> and it'll work or what ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Jun 01, 2003 11:06 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-31T08:55:53-04:00</updated>

		<published>2003-05-31T08:55:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20985#p20985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20985#p20985"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20985#p20985"><![CDATA[
Well, the /me #bla...  is an action not a msg to channel. Guess you've figured out this by yourself after my last post, if not.. see in the tcl-commands.doc file the bind ctcp.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat May 31, 2003 8:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-31T06:59:41-04:00</updated>

		<published>2003-05-31T06:59:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20982#p20982</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20982#p20982"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20982#p20982"><![CDATA[
No, the only binds are :<blockquote class="uncited"><div> bind pubm - "*badword 1*" advert<br> bind pub - "*badword2*" advert<br> bind ......(alot of badwords continue... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">)</div></blockquote>so, no there is no <strong class="text-strong">bind ctcp * ACTION your:proc</strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat May 31, 2003 6:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-31T06:04:47-04:00</updated>

		<published>2003-05-31T06:04:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20978#p20978</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20978#p20978"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20978#p20978"><![CDATA[
Do you have a bind ctcp * ACTION your:proc in there?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat May 31, 2003 6:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2003-05-31T04:49:44-04:00</updated>

		<published>2003-05-31T04:49:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20976#p20976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20976#p20976"/>
		<title type="html"><![CDATA[Action advertise detecting]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20976#p20976"><![CDATA[
well my anti-advertisement script doesn't work for actions<br>like if someone types /me #bla... the bot doesn't consider it advertising, so it doesn't kick it<br>well here's my Advertist script<div class="codebox"><p>Code: </p><pre><code>set adv "advert1"set ban-time 10set aBan "Advertisement detected - Banned 10mins."bind pubm .....bind pub ....proc advert {nick uhost hand chan rest} {  global botnick ban-time aBan advif [isop $nick $chan]==0 {            adduser $nick [maskhost [getchanhost $nick $chan]]       set banadver [maskhost [getchanhost $nick $chan]] putquick "KICK $chan $nick :$aBan" putquick "mode $chan +b $banadver" utimer 600 "putserv \"mode $chan -b $banadver\""          return 0        }}</code></pre></div>as u see the ban-time doesn't work here too <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"> so i put a utimer for unban.<br>so can somebody at to the script to make the ban-time work and make it kickban the user when he uses the Spam words with action ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat May 31, 2003 4:49 am</p><hr />
]]></content>
	</entry>
	</feed>
