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

	<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-04-30T12:11:43-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-04-30T12:11:43-04:00</updated>

		<published>2007-04-30T12:11:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72387#p72387</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72387#p72387"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72387#p72387"><![CDATA[
You can add this line in the ban:stop proc:<div class="codebox"><p>Code: </p><pre><code>if {[matchattr $hand f|f $chan]} {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> — Mon Apr 30, 2007 12:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-04-29T22:11:56-04:00</updated>

		<published>2007-04-29T22:11:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72371#p72371</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72371#p72371"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72371#p72371"><![CDATA[
<blockquote class="uncited"><div>Just Tested this.. Works Flawlessly  ..    How would i go about setting it not to kick +f or ops ?</div></blockquote>use another if statement, utilizing <a href="http://tcl.powersource.cx/eggtclh02.php" class="postlink">matchattr</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Apr 29, 2007 10:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BIF]]></name></author>
		<updated>2007-04-29T21:29:58-04:00</updated>

		<published>2007-04-29T21:29:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72370#p72370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72370#p72370"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72370#p72370"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind pub - !stop ban:stopproc ban:stop {nick uhost hand chan arg} { if {[throttled [lindex [split $uhost @] 1] 900]} {  putkick $chan $nick "!stop command abusement."  newchanban $chan *!*@[lindex [split $uhost @] 1] !stop-abuse "!stop command abusement." 1440 }}# user's throttled procproc throttled {id time} { global throttled if {[info exists throttled($id)]} {  return 1 } {  set throttled($id) [clock sec]  utimer $time [list unset throttled($id)]  return 0 }}</code></pre></div></div></blockquote>Just Tested this.. Works Flawlessly  ..    How would i go about setting it not to kick +f or ops ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8042">BIF</a> — Sun Apr 29, 2007 9:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BIF]]></name></author>
		<updated>2007-04-29T21:04:06-04:00</updated>

		<published>2007-04-29T21:04:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72369#p72369</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72369#p72369"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72369#p72369"><![CDATA[
Thanks alot for that.. and yes iamdeath Thats extactly what i want<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8042">BIF</a> — Sun Apr 29, 2007 9:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-04-29T18:04:26-04:00</updated>

		<published>2007-04-29T18:04:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72364#p72364</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72364#p72364"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72364#p72364"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !stop ban:stopproc ban:stop {nick uhost hand chan arg} { if {[throttled [lindex [split $uhost @] 1] 900]} {  putkick $chan $nick "!stop command abusement."  newchanban $chan *!*@[lindex [split $uhost @] 1] !stop-abuse "!stop command abusement." 1440 }}# user's throttled procproc throttled {id time} { global throttled if {[info exists throttled($id)]} {  return 1 } {  set throttled($id) [clock sec]  utimer $time [list unset throttled($id)]  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 Apr 29, 2007 6:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[iamdeath]]></name></author>
		<updated>2007-04-29T16:42:20-04:00</updated>

		<published>2007-04-29T16:42:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72361#p72361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72361#p72361"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72361#p72361"><![CDATA[
I aint clear about what you want, I mean do you want a script to ban a user who types !stop 2 times within 15 minutes and the bot should ban him for 24 hours. If he types !stop onces the bot will do nothing right?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5982">iamdeath</a> — Sun Apr 29, 2007 4:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BIF]]></name></author>
		<updated>2007-04-29T14:32:03-04:00</updated>

		<published>2007-04-29T14:32:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72356#p72356</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72356#p72356"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72356#p72356"><![CDATA[
been there tryed that.. everything kicks after 1 " bad word " im looking for a kick ban after 2 words within 15 minutes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8042">BIF</a> — Sun Apr 29, 2007 2:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-04-29T14:02:07-04:00</updated>

		<published>2007-04-29T14:02:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72354#p72354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72354#p72354"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72354#p72354"><![CDATA[
use an existing "bad word" script, and modify it accordingly.<br><a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-bad-word.htm" class="postlink">bad word scripts</a><br><img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sun Apr 29, 2007 2:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BIF]]></name></author>
		<updated>2007-04-28T22:54:31-04:00</updated>

		<published>2007-04-28T22:54:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72345#p72345</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72345#p72345"/>
		<title type="html"><![CDATA[[req] word x2 within 15 minutes = kick/ban]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72345#p72345"><![CDATA[
I need a script that will kick/ban a user for using a command " !stop " <br>in public chat<br> <br>I would like for it to kick/ban the user on the 2nd " !stop " if its within a 15 minutes of the last time.  it has to be per user. as in if 1 person does it and then someone else it wont kick .. but only if its the same *!*@IP <br>The ban should last 1440 minutes or 24 hours. <br>i have tried many different ways to get this to work, and i keep falling short. any help on this matter would greatly be appreciated  thank you in advanced<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8042">BIF</a> — Sat Apr 28, 2007 10:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
