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

	<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>2004-06-10T09:32:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-06-10T09:32:22-04:00</updated>

		<published>2004-06-10T09:32:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37166#p37166</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37166#p37166"/>
		<title type="html"><![CDATA[Tcl de-op or de-voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37166#p37166"><![CDATA[
Very simple indeed.<br><br>Try this code you can alter it according to your needs if you need to op, deop, voice, devoice, kick, ban someone or need to change modes, topics etc on a channel.<br><div class="codebox"><p>Code: </p><pre><code>## You can change the flag triggers according to your needsbind pub n !deop pub:deop# And here is the procedure to deop the nick(s)proc pub:deop {nick host hand chan text} { global botnick  if {[botisop $chan] &amp;&amp; [onchan $nick $chan]} {         set nick1 [lindex $text 0]; set nick2 [lindex $text 1]   set nick3 [lindex $text 2]; set nick4 [lindex $text 3]   set nick5 [lindex $text 4]; set nick6 [lindex $text 5]  putquick "MODE $chan -oooooo $nick1 $nick2 $nick3 $nick4 $nick5 $nick6" }}</code></pre></div>This will trigger on any public channel, only if bot owners with the flag 'n' send the command.<br><br>It can utilize multiple nicks.<br>If you want to say deop more than 1 nick without causing a flood<br>rather than deoping one by one, you can deop more than one.<br>Mostly all ircds allow atleast 6 mode changes so you can utilize like this:<br><div class="codebox"><p>Code: </p><pre><code>!deop &lt;nick1&gt; &lt;nick2&gt; &lt;nick3&gt; .......... &lt;nick6&gt;</code></pre></div>Even if you dont want to deop 6 people, if you want to deop less than 6 people, just supply their nicks one by one after the trigger and it will still carry out its procedure and deop the nicks listed.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Thu Jun 10, 2004 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[scorchin]]></name></author>
		<updated>2004-06-10T08:39:03-04:00</updated>

		<published>2004-06-10T08:39:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37165#p37165</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37165#p37165"/>
		<title type="html"><![CDATA[Tcl de-op or de-voice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37165#p37165"><![CDATA[
Hi i want to make a tcl script that will !deop username and !devoice someone, then the same script can be used to !op or !voice someone. cheers.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5030">scorchin</a> — Thu Jun 10, 2004 8:39 am</p><hr />
]]></content>
	</entry>
	</feed>
