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

	<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>2006-03-26T11:54:14-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dohko2006]]></name></author>
		<updated>2006-03-26T11:54:14-04:00</updated>

		<published>2006-03-26T11:54:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61408#p61408</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61408#p61408"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61408#p61408"><![CDATA[
Works OK Now <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"> ... thx a lot Sir ^^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7521">dohko2006</a> — Sun Mar 26, 2006 11:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-24T19:55:39-04:00</updated>

		<published>2006-03-24T19:55:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61368#p61368</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61368#p61368"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61368#p61368"><![CDATA[
This should fix it<div class="codebox"><p>Code: </p><pre><code>bind pub - !rock rockproc rock {nick uhost hand chan arg} { global afrock if {![isvoice $nick $chan] &amp;&amp; ![isop $nick $chan]} {return 0} if {![info exists afrock([set nickchan [string tolower $nick:$chan]])]} {  set afrock($nickchan) [list [unixtime] 0] } foreach {t o} $afrock($nickchan) {break} if {[unixtime]-$t &gt; 120} { set t [unixtime]; set o 0 } if {[incr o] &gt; 5} { return 0 } set afrock($nickchan) [list $t $o] if {[onchan [set rocked [lindex [split $arg] 0]] $chan]} {  putserv "privmsg $chan :\001ACTION throws a rock in the head of $rocked\001" }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Fri Mar 24, 2006 7:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-03-24T15:14:26-04:00</updated>

		<published>2006-03-24T15:14:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61361#p61361</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61361#p61361"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61361#p61361"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !rock random:rockproc random:rock {nick uhost hand chan arg} {  if {![isop $nick $chan] || ![isvoice $nick $chan]} return  foreach user [chanlist $chan] {    if {[isbotnick $user] || [isvoice $user $chan] || [isop $user $chan]} continue    lappend list $user  }  if {[set len [llength $list]] &lt; 2} {    putserv "PRIVMSG $chan :This game needs more than two users on the channel, currently I see only [expr {$len==1?"1 player":"$len players"}]."    return  }  putserv "PRIVMSG $chan :\001ACTION throws a rock in the head of [lindex $list [rand $len]]\001"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Mar 24, 2006 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[astriK]]></name></author>
		<updated>2006-03-24T11:14:20-04:00</updated>

		<published>2006-03-24T11:14:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61351#p61351</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61351#p61351"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61351#p61351"><![CDATA[
<blockquote class="uncited"><div>Great work Sir_Dz  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  Working Ok... but...<br><br>If AnotherNick dont exists ... the command <br>!rock AnotherNick it would not have to work; and if type only "!rock" the bot say "* Bot throws a rock in the head of" <br><br>Example (Only 3 Users in the channel: Bot, +Nick, Nick2)<br>&lt;+Nick&gt;!rock<br>&lt;Nick2&gt; nothing happen<br>&lt;+Nick&gt; of course, not type nick :p<br>Regards  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>that example is meaning the Bot fine. <br>maybe u wana say it<br>&lt;+Nick&gt;!rock<br>&lt;BoT&gt; Bot throws a rock in the head of"<br>isn't?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7536">astriK</a> — Fri Mar 24, 2006 11:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dohko2006]]></name></author>
		<updated>2006-03-24T10:56:38-04:00</updated>

		<published>2006-03-24T10:56:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61350#p61350</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61350#p61350"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61350#p61350"><![CDATA[
Great work Sir_Dz  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy">  Working Ok... but...<br><br>If AnotherNick dont exists ... the command <br>!rock AnotherNick it would not have to work; and if type only "!rock" the bot say "* Bot throws a rock in the head of" <br><br>Example (Only 3 Users in the channel: Bot, +Nick, Nick2)<br>&lt;+Nick&gt;!rock Nick2<br>* Bot throws a rock in the head of Nick2<br>&lt;Nick2&gt;lol<br>&lt;+Nick&gt;!rock Nick3 <br>&lt;Nick2&gt; Nick3? who is?<br>&lt;+Nick&gt; lol, the user Nick3 dont exist in the channel, good bot :p<br>&lt;+Nick&gt;!rock<br>&lt;Nick2&gt; nothing happen<br>&lt;+Nick&gt; of course, not type nick :p<br><br>My bot only have one channel, but have 100 -300 users daily in the channel.<br><br>Regards  <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=7521">dohko2006</a> — Fri Mar 24, 2006 10:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-19T16:12:57-04:00</updated>

		<published>2006-03-19T16:12:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61197#p61197</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61197#p61197"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61197#p61197"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !rock rockproc rock {nick uhost hand chan arg} { global afrock if {![isvoice $nick $chan] &amp;&amp; ![isop $nick $chan]} {return 0} if {![info exists afrock([set nickchan [string tolower $nick:$chan]])]} {  set afrock($nickchan) [list [unixtime] 0] } foreach {t o} $afrock($nickchan) {break} if {[unixtime]-$t &gt; 120} { set t [unixtime]; set o 0 } if {[incr o] &gt; 5} { return 0 } set afrock($nickchan) [list $t $o] putserv "privmsg $chan :\001ACTION throws a rock in the head of [lindex [split $arg] 0]\001"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Mar 19, 2006 4:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dohko2006]]></name></author>
		<updated>2006-03-19T14:59:06-04:00</updated>

		<published>2006-03-19T14:59:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61195#p61195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61195#p61195"/>
		<title type="html"><![CDATA[Fun Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61195#p61195"><![CDATA[
small request (i thing),  im looking for after a forum search (maybe im not good searching, sorry)<br><br><br>when ops (+o) or  voices (+v)  (only this two) type: !rock nick ... the bot respond<br>* Bot throws a rock in the head of Nick<br><br>a tiny example (nicks: Bot, +Nick, AnotherNick)<br><br>&lt;+Nick&gt;!rock AnotherNick<br>* Bot throws a rock in the head of AnotherNick<br>&lt;AnotherNick&gt; lol<br>&lt;AnotherNick&gt; !rock Nick<br>&lt;AnotherNick&gt; wtf... not work!<br>&lt;+Nick&gt; lol...only voices and ops <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>and antiflood ... 4 or 5 respond total in 90-120 sec ... thx a lot.<br><br>Regards.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7521">dohko2006</a> — Sun Mar 19, 2006 2:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
