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

	<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-02-27T20:45:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2004-02-27T20:45:20-04:00</updated>

		<published>2004-02-27T20:45:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34063#p34063</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34063#p34063"/>
		<title type="html"><![CDATA[multiple channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34063#p34063"><![CDATA[
Ah, thank you very much <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=1195">Weirdo</a> — Fri Feb 27, 2004 8:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-02-27T20:17:05-04:00</updated>

		<published>2004-02-27T20:17:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34062#p34062</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34062#p34062"/>
		<title type="html"><![CDATA[multiple channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34062#p34062"><![CDATA[
The way the IRC protocol works is, for every user mode you place on a channel, you must have an argument to go with it...<br><br>So from what you are doing, you are only giving one argument, for both modes, instead of 2 arguments for both modes, which is needed.<br><br>ie. <div class="codebox"><p>Code: </p><pre><code>putserv "MODE #channel +o-v &lt;nick1&gt; &lt;nick2&gt;"</code></pre></div>Even if nick1 == nick2 , you still need to specify it again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Fri Feb 27, 2004 8:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2004-02-27T20:10:57-04:00</updated>

		<published>2004-02-27T20:10:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34061#p34061</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34061#p34061"/>
		<title type="html"><![CDATA[multiple channel modes]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34061#p34061"><![CDATA[
hey all. Having a bit of problem with this little script i wrote. Now, i want the bot to add multiple modes queued for each putserv. When you add halfops, it automatically removes voice. When it removes halfops, i want it to automaticllay add voice, on the same line. But it just doesnt work. <br><br>-h+v does only -h<br>-h +v does not much really, -h only<br><br>* Natsuki-Chan sets mode: -h+v MystMan MystMan<br><br>I want the bot to do that basically <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><div class="codebox"><p>Code: </p><pre><code>#Public binder for setting whether halfops are onbind pub mn|mn !ahop pub:ahopproc pub:ahop {nick uhost hand chan text} {set ahop(status) [lindex [split $text] 0]set ahop(hopping) [lindex [split $text] 1]if {$ahop(status) == "on"} {set $::ahop(check) "1"puthelp "Privmsg $chan :Halfopping has now been turned on"if {$ahop(hopping) == "hop"} {foreach user [chanlist $chan 2|2] {putlog "$user"set ahop(nick) [hand2nick $user $chan]putserv "Mode $chan +h $ahop(nick)"}}}if {$ahop(status) == "off"} {set $::ahop(check) "0"puthelp "Privmsg $chan :Halfopping has been turned off"foreach user [chanlist $chan 2|2] {putlog "$user"set ahop(nick) [hand2nick $user $chan]putserv "Mode $chan -h +v $ahop(nick)"#putserv "mode $chan  $ahop(nick)"}}putlog "$ahop(status) $ahop(hopping)"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Feb 27, 2004 8:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
