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

	<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-10-13T05:23:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-13T05:23:54-04:00</updated>

		<published>2007-10-13T05:23:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76690#p76690</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76690#p76690"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76690#p76690"><![CDATA[
Fire-Fox: users with channel access do not require +/-v; it has no effect on them as indicated by TCL_no_TK.<br><br>The script (as written) effects <span style="text-decoration:underline">ONLY</span> those that have no channel access at all.<br><br>This line in the script checks existing status and performs a function based on that status:<div class="codebox"><p>Code: </p><pre><code>   if {![isvoice $n $chan] &amp;&amp; ![isop $n $chan] &amp;&amp; ![ishalfop $n $chan]} {    pushmode $chan +v $n   }</code></pre></div>The script functions as intended.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Oct 13, 2007 5:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-13T04:59:13-04:00</updated>

		<published>2007-10-13T04:59:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76687#p76687</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76687#p76687"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76687#p76687"><![CDATA[
<blockquote class="uncited"><div>How much testing have you done? The script check's that the people that need giving +v <span style="text-decoration:underline">are not</span>:<ul><li>the bot<br>have +o<br>have +h<br>have +v already</li></ul> or if they need to be given -v then it will also check if they have no voice.</div></blockquote>Hey why is that i believe that guys are talking the wrong setup here nothing bad at all...<br><br><br>the only thing i need i something that removes +v when i type +mute in the chat and a function that give +v when i type -mute ( pub commands) nothing more or less <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> like i mute funktion for all users on the chat... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Hope you guys understand <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=8230">Fire-Fox</a> — Sat Oct 13, 2007 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-10-12T18:58:54-04:00</updated>

		<published>2007-10-12T18:58:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76675#p76675</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76675#p76675"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76675#p76675"><![CDATA[
How much testing have you done? The script check's that the people that need giving +v <span style="text-decoration:underline">are not</span>:<ul><li>the bot<br>have +o<br>have +h<br>have +v already</li></ul> or if they need to be given -v then it will also check if they have no voice.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Oct 12, 2007 6:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-12T14:49:04-04:00</updated>

		<published>2007-10-12T14:49:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76667#p76667</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76667#p76667"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76667#p76667"><![CDATA[
<blockquote class="uncited"><div>There's a few things to check as to why it failed. The bot wasn't opped, everyone is op'd/halfop'd on the channel. Or depending on the [+/-]mute switch everyone was/wasn't voice'd already. Apart from that, the script is complete untested by me and this is only based on what the code is checking.</div></blockquote>Don't get it sorry ...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Fri Oct 12, 2007 2:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-10-11T02:45:40-04:00</updated>

		<published>2007-10-11T02:45:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76595#p76595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76595#p76595"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76595#p76595"><![CDATA[
There's a few things to check as to why it failed. The bot wasn't opped, everyone is op'd/halfop'd on the channel. Or depending on the [+/-]mute switch everyone was/wasn't voice'd already. Apart from that, the script is complete untested by me and this is only based on what the code is checking.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Thu Oct 11, 2007 2:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-08T11:17:00-04:00</updated>

		<published>2007-10-08T11:17:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76476#p76476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76476#p76476"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76476#p76476"><![CDATA[
<blockquote class="uncited"><div>Ok, think this should do it. <blockquote class="uncited"><div>proc pub:-mute {nick host handle channel text} {<br> if {![botisop $channel]} {return 0}<br>  foreach t [chanlist $channel] {<br>   if {![isvoice $t $channel] &amp;&amp; ![isop $t $channel] &amp;&amp; ![ishalfop $t $channel] &amp;&amp; ![isbotnick $t]} {pushmode $channel -v $t}<br>  }; return 1<br>}<br><br>proc proc:+mute {nick host handle channel text} {<br> if {![botisop $channel]} {return 0}<br>  foreach t [chanlist $channel] {<br>   if {[isvoice $t $channel] &amp;&amp; ![isop $t $channel] &amp;&amp; ![ishalfop $t $channel] &amp;&amp; ![isbotnick $t]} {pushmode $channel +v $t}<br>  }; return 1<br>}<br><br>bind pub - -mute pub:-mute<br>bind pub - +mute pub:+mute</div></blockquote> It dosen't set [+/-]m on the channel, it just voice's everyone not voiced when you say +mute and it also devoice's everyone voiced when you say -mute. Added the binds as well incase you wasn't sure about them. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> i know am not.</div></blockquote>it does not work when i type +mute nothing happens the same with -mute  <br><blockquote class="uncited"><div>proc pub:+mute {nick host handle channel text} {<br>if {![botisop $channel]} {return 0}<br>foreach t [chanlist $channel] {<br>if {![isvoice $t $channel] &amp;&amp; ![isop $t $channel] &amp;&amp; ![ishalfop $t $channel] &amp;&amp; ![isbotnick $t]} {pushmode $channel -v $t}<br>}; return 1<br>}<br><br>proc pub:-mute {nick host handle channel text} {<br>if {![botisop $channel]} {return 0}<br>foreach t [chanlist $channel] {<br>if {[isvoice $t $channel] &amp;&amp; ![isop $t $channel] &amp;&amp; ![ishalfop $t $channel] &amp;&amp; ![isbotnick $t]} {pushmode $channel +v $t}<br>}; return 1<br>}<br>bind pub -|- -mute pub:-mute<br>bind pub -|- +mute pub:+mute</div></blockquote>[/quote]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Oct 08, 2007 11:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-10-07T08:18:50-04:00</updated>

		<published>2007-10-07T08:18:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76450#p76450</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76450#p76450"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76450#p76450"><![CDATA[
Ok, think this should do it. <blockquote class="uncited"><div>proc pub:-mute {nick host handle channel text} {<br> if {![botisop $channel]} {return 0}<br>  foreach t [chanlist $channel] {<br>   if {![isvoice $t $channel] &amp;&amp; ![isop $t $channel] &amp;&amp; ![ishalfop $t $channel] &amp;&amp; ![isbotnick $t]} {pushmode $channel -v $t}<br>  }; return 1<br>}<br><br>proc proc:+mute {nick host handle channel text} {<br> if {![botisop $channel]} {return 0}<br>  foreach t [chanlist $channel] {<br>   if {[isvoice $t $channel] &amp;&amp; ![isop $t $channel] &amp;&amp; ![ishalfop $t $channel] &amp;&amp; ![isbotnick $t]} {pushmode $channel +v $t}<br>  }; return 1<br>}<br><br>bind pub - -mute pub:-mute<br>bind pub - +mute pub:+mute</div></blockquote> It dosen't set [+/-]m on the channel, it just voice's everyone not voiced when you say +mute and it also devoice's everyone voiced when you say -mute. Added the binds as well incase you wasn't sure about them. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> i know am not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sun Oct 07, 2007 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-06T20:45:27-04:00</updated>

		<published>2007-10-06T20:45:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76436#p76436</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76436#p76436"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76436#p76436"><![CDATA[
Fire-Fox wants a public trigger apparently (although not indicated by initial posts).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sat Oct 06, 2007 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-10-06T20:22:41-04:00</updated>

		<published>2007-10-06T20:22:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76435#p76435</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76435#p76435"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76435#p76435"><![CDATA[
You mean in DCC CHAT/telnet with the eggdrop? or in the channel as a /msg #channel -mute | /msg #channel +mute  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> sorry this is alit confussing for me :/<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Sat Oct 06, 2007 8:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-06T08:18:15-04:00</updated>

		<published>2007-10-06T08:18:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76413#p76413</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76413#p76413"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76413#p76413"><![CDATA[
<blockquote class="uncited"><div>Its done via mode. So when you do <span style="text-decoration:underline">/mode #channel +m</span> it voices everyone. And also when you do <span style="text-decoration:underline">/mode #channel -m</span> it devoices everyone.</div></blockquote>yes but it's the wrong way <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>when i type +mute (command) it shoul remove alle +v and when i type -mute (command) it shell give all users +v again....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sat Oct 06, 2007 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TCL_no_TK]]></name></author>
		<updated>2007-10-05T15:18:35-04:00</updated>

		<published>2007-10-05T15:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76396#p76396</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76396#p76396"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76396#p76396"><![CDATA[
Its done via mode. So when you do <span style="text-decoration:underline">/mode #channel +m</span> it voices everyone. And also when you do <span style="text-decoration:underline">/mode #channel -m</span> it devoices everyone.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8130">TCL_no_TK</a> — Fri Oct 05, 2007 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-10-04T11:04:57-04:00</updated>

		<published>2007-10-04T11:04:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76370#p76370</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76370#p76370"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76370#p76370"><![CDATA[
did not get it to work so it takes all +voice when i type +mute in chat, and gives them againg when i type -mute in chat <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=8230">Fire-Fox</a> — Thu Oct 04, 2007 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-23T20:40:40-04:00</updated>

		<published>2007-09-23T20:40:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76184#p76184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76184#p76184"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76184#p76184"><![CDATA[
<blockquote class="uncited"><div>No. When someone sets +m, the bot devoices all voices. When someone sets -m, the bot voices all users. If you want it to work on a public command, then you can easily modify it to do so.</div></blockquote>okay let see if i can do it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>or els i'll get back <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>thanks so fare <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>the chan function like this there is always +m on chan.... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> so the +m (moderated) will not be toched <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=8230">Fire-Fox</a> — Sun Sep 23, 2007 8:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-09-23T20:34:53-04:00</updated>

		<published>2007-09-23T20:34:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76183#p76183</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76183#p76183"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76183#p76183"><![CDATA[
No. When someone sets +m, the bot devoices all voices. When someone sets -m, the bot voices all users. If you want it to work on a public command, then you can easily modify it to do so.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Sep 23, 2007 8:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2007-09-23T20:26:18-04:00</updated>

		<published>2007-09-23T20:26:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76179#p76179</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76179#p76179"/>
		<title type="html"><![CDATA[[SOLVED]voice when +mute command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76179#p76179"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>bind mode - {% *m} voice:devoiceproc voice:devoice {nick uhost hand chan mc dest} { if {$mc == "+m"} {  foreach n [chanlist $chan] {   if {[isvoice $n $chan]} { pushmode $chan -v $n }  } } {  foreach n [chanlist $chan] {   if {![isvoice $n $chan] &amp;&amp; ![isop $n $chan] &amp;&amp; ![ishalfop $n $chan]} {    pushmode $chan +v $n   }  } }}</code></pre></div></div></blockquote>Do this take all +v when i type +mute ang gives them againg when i type -mute ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Sun Sep 23, 2007 8:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
