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

	<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-12T06:20:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ecimo]]></name></author>
		<updated>2006-03-12T06:20:06-04:00</updated>

		<published>2006-03-12T06:20:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61002#p61002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61002#p61002"/>
		<title type="html"><![CDATA[mute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61002#p61002"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc myavoice {n u h c} {  if {![string equal -nocase $c "#game-fair.dk"]} {return}  global mutedhosts  if {[lsearch -exact $mutedhosts $u] == -1} {    pushmode $c +v $n  } else { puthelp "PRIVMSG $c :\002$n\002 (\002*!*$u\002) have been a bad boy, You have to wait 2 mins." }}</code></pre></div>somehow it just started to work (i had tryed that one befor)<br><br>but i still wish to sold Bug 2:<br>«11:15:43» {@Mulle^:#game-fair.dk} !mute l0rn|Mortar^off l0rn|RR^Off<br>«11:15:44» « Mode » {[Game-Fair]} sets {-vv l0rn|Mortar^off l0rn|RR^Off}<br>«11:17:43» « Mode » {[Game-Fair]} sets {+v l0rn|Mortar^off}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7156">Ecimo</a> — Sun Mar 12, 2006 6:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-11T19:55:08-04:00</updated>

		<published>2006-03-11T19:55:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60997#p60997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60997#p60997"/>
		<title type="html"><![CDATA[mute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60997#p60997"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact $mutedhosts $u] == 1} {</code></pre></div>This means if $u is the 2nd element in the list $mutedhosts then perform... I guess you mean<div class="codebox"><p>Code: </p><pre><code>if {[lsearch -exact $mutedhosts $u] != -1} {</code></pre></div>this means if $u exists in $mutedhosts then ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat Mar 11, 2006 7:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ecimo]]></name></author>
		<updated>2006-03-11T15:53:59-04:00</updated>

		<published>2006-03-11T15:53:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60995#p60995</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60995#p60995"/>
		<title type="html"><![CDATA[mute]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60995#p60995"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set mutedhosts ""bind join -|- * myavoicebind PUB -|- !mute mymutebind PUB -|- !demute demute2proc myavoice {n u h c} {  if {![string equal -nocase $c "#game-fair.dk"]} {return}  global mutedhosts  if {[lsearch -exact $mutedhosts $u] == 1} {    puthelp "PRIVMSG $c :\002$n\002 (\002*!*$u\002) have been a bad boy, You have to wait 2 mins."  } else { pushmode $c +v $n }}proc mymute {n u h c a} {  if {![string equal -nocase $c "#game-fair.dk"] || ![isop $n $c]} {return}  global mutedhosts  foreach v [split $a] {    if {[onchan $v $c]} {      lappend mutedhosts [set uh [getchanhost $v $c]]      pushmode $c -v $v      utimer 120 [list demute $v $uh $c]    }  }}proc demute2 {n u h c a} {  if {![string equal -nocase $c "#game-fair.dk"] || ![isop $n $c] || ![onchan $a $c]} {return}  foreach v [split $a] {  demute $v [getchanhost $v $c] $c  }}proc demute {n h c} {  global mutedhosts  if {[set pos [lsearch -exact $mutedhosts $h]] == -1} {return}  while {[set pos [lsearch -exact $mutedhosts $h]] != -1} {    set mutedhosts [lreplace $mutedhosts $pos $pos]]  }  if {[onchan $n $c]} {    pushmode $c +v $n    } {    foreach curuser [chanlist $c] {      if {[getchanhost $curuser] == $h &amp;&amp; ![isvoice $curuser $c]} {pushmode $c +v $curuser}    }  }}</code></pre></div>Bug 1:<br>«20:49:00» {@Mulle^:#game-fair.dk} !mute fishbot<br>«20:49:01» « Mode » {[Game-Fair]} sets {-v fishbot}<br>«20:49:04» « Kick » {fishbot} was kicked by {Mulle^} {{me off is one of your skills @ 27th}}<br>«20:49:07» « {fishbot} has been invited to join {#game-fair.dk}<br>«20:49:07» « Join » {fishbot} {<a href="mailto:fish@go.moo.oh.yes.they.do">fish@go.moo.oh.yes.they.do</a>} {Clones: 0 @ n/a}<br>«20:49:07» » fishbot:#game-fair.dk m00s contentedly at Mulle^.<br>«20:49:14» « Mode » {[Game-Fair]} sets {+v fishbot}<br><br>it didnt msg the channel it sould do<br><br>Bug 2:<br>«20:11:53» {@Mulle^:#game-fair.dk} !mute [S]CZukini`bnc fishbot<br>«20:12:02» « GM highlighted you in #tcl: loc-: i was talking to Mulle^<br>«20:12:15» « Mode » {[Game-Fair]} sets {-vv [S]CZukini`bnc fishbot}<br>«20:13:54» « Mode » {[Game-Fair]} sets {+v [S]CZukini`bnc}<br><br>why dont it voice both?<br><br>now i looked over it for like 7-8 hours cant find the bug!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7156">Ecimo</a> — Sat Mar 11, 2006 3:53 pm</p><hr />
]]></content>
	</entry>
	</feed>
