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

	<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>2002-08-24T14:54:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-08-24T14:54:29-04:00</updated>

		<published>2002-08-24T14:54:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9993#p9993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9993#p9993"/>
		<title type="html"><![CDATA[voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9993#p9993"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !whois extended_babelistbind join - * blah proc blah {nick uhost hand chan} {   if {![validuser $nick]} {     adduser $nick "*!$uhost"     chattr $nick +X   }   set hand [nick2hand $nick]  utimer [expr [rand 25] + 1] "check_voice $hand $chan" } proc check_voice {hand chan} {   global botnick   set nick [hand2nick $hand]   if {$nick != $botnick} {     if {[onchan $nick $chan] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![isvoice $nick $chan] &amp;&amp; ![matchattr $hand b]} {pushmode $chan +v $nick}     if {[matchattr $hand X]} {deluser $hand}   } } </code></pre></div>something like that then...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sat Aug 24, 2002 2:54 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-24T13:11:39-04:00</updated>

		<published>2002-08-24T13:11:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9991#p9991</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9991#p9991"/>
		<title type="html"><![CDATA[voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9991#p9991"><![CDATA[
thanks, everything else is got fixed..<br>except when user join a channel and changes his/her nick, this part doesn't work...<br><br>thanks<br>regards<br>aw<p>Statistics: Posted by Guest — Sat Aug 24, 2002 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2002-08-24T07:42:38-04:00</updated>

		<published>2002-08-24T07:42:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9987#p9987</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9987#p9987"/>
		<title type="html"><![CDATA[voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9987#p9987"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind join - * blah proc blah {nick uhost hand chan} {  if {![validuser $nick]} {    adduser $nick "*!$uhost"    chattr $nick +X  }  utimer [expr [rand 25] + 1] "check_voice $nick $chan" } proc check_voice {nick chan} {  global botnick   set hand [nick2hand $nick]  if {$nick != $botnick} {    if {[onchan $nick $chan] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![isvoice $nick $chan] &amp;&amp; ![matchattr $hand b]} {pushmode $chan +v $nick}    if {[matchattr $hand X]} {deluser $hand}  }}</code></pre></div>that should work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Sat Aug 24, 2002 7:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-24T02:02:45-04:00</updated>

		<published>2002-08-24T02:02:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9985#p9985</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9985#p9985"/>
		<title type="html"><![CDATA[voice script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9985#p9985"><![CDATA[
Hi, i'll appreciate if someone can help me to fix these codes, its works ok, but few things i couldn't figure out<br><br>like its voice ops as well, i don't it to voice ops,  codes are there to check it<br>also if anyone changes his/her nick, doesn't voice<br>if bot joins a channel, it voice it, but check is there in codes<br><br> bind join - * blah<br> proc blah {nick uhost hand chan} {<br> global botnick<br> utimer [expr [rand 25] + 1] "check_voice $nick $chan"<br> }<br> proc check_voice {nick chan} {<br> if $nick == $botnick {return 0}<br> if {[onchan $nick $chan] &amp;&amp; ![isop $nick $chan] &amp;&amp; ![isvoice $nick   $chan]} {pushmode $chan +v $nick}<br> }<br><br>thanks<br>regards<br>AW<p>Statistics: Posted by Guest — Sat Aug 24, 2002 2:02 am</p><hr />
]]></content>
	</entry>
	</feed>
