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

	<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-11-24T05:13:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[DarkRaptor]]></name></author>
		<updated>2008-11-21T13:05:10-04:00</updated>

		<published>2008-11-21T13:05:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85925#p85925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85925#p85925"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85925#p85925"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind FLUD - chan Flood:Chanproc Flood:Chan { nick host hand type chan } {   pushmode $chan +b *!*@[lindex [split $host "@"] 1]   utimer 120 [list pushmode $chan -b *!*@[lindex [split $host "@"] 1]}</code></pre></div>You can control this with .chanset<div class="codebox"><p>Code: </p><pre><code>.chanset #yourchan flood-chan 6:2</code></pre></div><br><br>Not tested<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7635">DarkRaptor</a> — Fri Nov 21, 2008 1:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[game_over]]></name></author>
		<updated>2008-11-24T05:13:58-04:00</updated>

		<published>2008-11-21T08:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85915#p85915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85915#p85915"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85915#p85915"><![CDATA[
if write script whit any timers you wrong or make bugs.<br><br>use uptime to bot like variable. See this to exaple:<br><div class="codebox"><p>Code: </p><pre><code>set time ""set counter 1set floodnick ""pind pubm - * flood:pubproc flood:pub {nick uhost hand chan text} {  global time counter floodnick  if {[expr [clock seconds]-$::uptime]&lt;=$time &amp;&amp; $nick == $floodnick} {      incr counter 1; set floodnick $nick  if {$counter &gt; 5} {newban $nick!*$uhost $::botnick ban 2; set counter 0}  }   set time [expr [expr [clock seconds]-$::uptime] + 2]; set counter 1; set floodnick $nick }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8946">game_over</a> — Fri Nov 21, 2008 8:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sutkida]]></name></author>
		<updated>2008-11-20T14:36:36-04:00</updated>

		<published>2008-11-20T14:36:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85907#p85907</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85907#p85907"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85907#p85907"><![CDATA[
It's not working. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"> how about this code:<div class="codebox"><p>Code: </p><pre><code># actban variable is setting ban time # use 0 to make perm set actban 2bind pubm - "*" ban:act proc ban:act { nick uhost hand dest key text } { #uncomment next line to exclude chanops #if [!isop $nick] return newban *!*$uhost $::botnick action_ban $::actban } </code></pre></div>This works but need some additional info like it will only ban for 2 minutes then unban after 2 minutes. It should detect the 6 lines in 2 seconds messages/phrases the user has typed. And it should also display a message on the channel like:<br>&lt;Bot&gt; We need to restrain you for 2minutes (6lines in 2seconds)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10322">sutkida</a> — Thu Nov 20, 2008 2:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-11-20T13:22:27-04:00</updated>

		<published>2008-11-20T13:22:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85905#p85905</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85905#p85905"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85905#p85905"><![CDATA[
Just remember to set your bot not to enforce bans on your channel, or it will kick nevertheless.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Nov 20, 2008 1:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-11-20T12:49:57-04:00</updated>

		<published>2008-11-20T12:49:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85903#p85903</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85903#p85903"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85903#p85903"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set textftrigger 5:2bind pubm - * textfbind ctcp - ACTION actionfproc textf {nick uhost hand chan arg} {global textftrigger textf timeif {![info exists textf([set f [string tolower $uhost:$chan]])]} {set textf($f) 0}utimer [lindex [split $textftrigger :] 1] [list incr textf($f) -1]if {[incr textf($f)] &gt;= [lindex [split $textftrigger :] 0]} {pushmode $chan +b *!*@[lindex [split $uhost @] 1]unset textf($f)}}proc actionf {nick uhost hand chan kw arg} {if {[isbotnick [lindex [split $chan "@"] 0]] || [lindex [split $chan "@"] 1] != ""} {return 0}textf $nick $uhost $chan $chan $arg} </code></pre></div><br>Not tested &lt;<br><br>tell us if works<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Thu Nov 20, 2008 12:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sutkida]]></name></author>
		<updated>2008-11-20T09:15:22-04:00</updated>

		<published>2008-11-20T09:15:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85898#p85898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85898#p85898"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85898#p85898"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set textftrigger 5:2 bind pubm - * textf bind ctcp - ACTION actionf proc textf {nick uhost hand chan arg} { global textftrigger textf if {![info exists textf([set f [string tolower $uhost:$chan]])]} { set textf($f) 0 } utimer [lindex [split $textftrigger :] 1] [list incr textf($f) -1] if {[incr textf($f)] &gt;= [lindex [split $textftrigger :] 0]} { pushmode $chan +b *!*@[lindex [split $uhost @] 1] kick $chan $nick "Text flood detected" unset textf($f) } } proc actionf {nick uhost hand chan kw arg} { if {[isbotnick [lindex [split $chan "@"] 0]] || [lindex [split $chan "@"] 1] != ""} {return 0} textf $nick $uhost $chan $chan $arg }</code></pre></div>Ok..Found this code somewhere in the thread..Can someone kindly edit this please? The bot should not kick the user but just ban him for 2 minutes and that ban will place him in mute state where he cannot send message to the main channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10322">sutkida</a> — Thu Nov 20, 2008 9:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-11-20T09:00:50-04:00</updated>

		<published>2008-11-20T09:00:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85895#p85895</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85895#p85895"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85895#p85895"><![CDATA[
yes but thats the reason why we have search to search for scripts anyway <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br><a href="http://www.egghelp.org/tclhtml/3478-4-0-0-1-flood.htm" class="postlink">http://www.egghelp.org/tclhtml/3478-4-0-0-1-flood.htm</a> <br><br>you can use the all protection tcl but you  must edit it with your custom settings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Thu Nov 20, 2008 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sutkida]]></name></author>
		<updated>2008-11-20T08:57:41-04:00</updated>

		<published>2008-11-20T08:57:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85894#p85894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85894#p85894"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85894#p85894"><![CDATA[
<blockquote class="uncited"><div>use Search on main page.. you can use many tcl with anti-flood system and you can edit to make only ban and not kick or something.</div></blockquote>As you can see, I'm no good in TCL..And I'm too noob for it..I can't edit it by myself that's why I'm requesting here..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10322">sutkida</a> — Thu Nov 20, 2008 8:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ultralord]]></name></author>
		<updated>2008-11-20T08:23:50-04:00</updated>

		<published>2008-11-20T08:23:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85891#p85891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85891#p85891"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85891#p85891"><![CDATA[
use Search on main page.. you can use many tcl with anti-flood system and you can edit to make only ban and not kick or something.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8360">ultralord</a> — Thu Nov 20, 2008 8:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sutkida]]></name></author>
		<updated>2008-11-20T08:13:44-04:00</updated>

		<published>2008-11-20T08:13:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85889#p85889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85889#p85889"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85889#p85889"><![CDATA[
still waiting for someone with a nice heart to make me this kind of script.And you know I'm a noob when it comes to TCLs..  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"> A little help please..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10322">sutkida</a> — Thu Nov 20, 2008 8:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sutkida]]></name></author>
		<updated>2008-11-19T12:16:46-04:00</updated>

		<published>2008-11-19T12:16:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=85874#p85874</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=85874#p85874"/>
		<title type="html"><![CDATA[Mute Script for Typing too much]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=85874#p85874"><![CDATA[
Hi! I've been around already searching for this kind of script but wasn't able to find it. Anyway,here's how this script will work:<blockquote class="uncited"><div>&lt;[nick]&gt; Line1<br>&lt;[nick]&gt; Line2<br>&lt;[nick]&gt; Line3<br>&lt;[nick]&gt; Line4<br>&lt;[nick]&gt; Line5<br>&lt;[nick]&gt; Line6<br>* Bot sets mode: +b [nick]!*<a href="mailto:ident@some.host.com">ident@some.host.com</a><br>&lt;Bot&gt; We need to restrain you for 2minutes (6lines in 2seconds)</div></blockquote>As you can see the nick has typed words/phrases 6 lines in 2 seconds and that puts him in a mute state for 2 mins. And he will be unmuted after 2 mins. I don't want a script that will kick/ban any user that has violated a flood rule. I just want him/her to be muted.<br>Hoping for a kind consideration on my request. TYIA.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10322">sutkida</a> — Wed Nov 19, 2008 12:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
