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

	<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-05-03T23:54:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[t3r^]]></name></author>
		<updated>2007-05-03T23:54:52-04:00</updated>

		<published>2007-05-03T23:54:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72505#p72505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72505#p72505"/>
		<title type="html"><![CDATA[need help with modifying av.pubmsg]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72505#p72505"><![CDATA[
could someone show me how to make the script ignore the nick for 2 seconds after it devoices them, this is to prevent the bot from voicing again due to an autoanswering script, i think its somewhere in this code<br><div class="codebox"><p>Code: </p><pre><code>proc av_devoice {} {global av_dtime av_nodevoiceflag av_partylogif {![string match *av_devoice* [timers]]} {timer [expr 1 + [rand 3]] av_devoice} foreach chan [channels] {  set dtime $av_dtime  if {[av_cdtime $chan] != 0} {   set dtime [av_cdtime $chan]  }  set av_deoplist ""  if {[av_dcheck $chan] == 1} {   foreach user [chanlist $chan] {    set hand [nick2hand $user]    if {[matchattr $hand $av_nodevoiceflag] || [matchattr $hand |$av_nodevoiceflag $chan]} {        continue    }    if {([getchanidle $user $chan] &gt; $dtime) &amp;&amp; [isvoice $user $chan]} {        set av_deoplist "$av_deoplist $user"    }   }   if {$av_partylog == 1} {    set count 0    foreach u $av_deoplist {        set count [expr $count + 1]    }    if {($count != 0)} {     putlog "-\[ av.pubmsg \]- devoicing $count users in $chan: $av_deoplist"    }   }  } }}</code></pre></div><br>thanks  in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8967">t3r^</a> — Thu May 03, 2007 11:54 pm</p><hr />
]]></content>
	</entry>
	</feed>
