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

	<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-08-11T15:29:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-08-11T15:29:15-04:00</updated>

		<published>2004-08-11T15:29:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39695#p39695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39695#p39695"/>
		<title type="html"><![CDATA[my mode changer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39695#p39695"><![CDATA[
putquick is using the mode queue, so pushmode/flushmode won't make a difference, but the mode change won't be seen by the bot untill later on, so you better use a timer or "fake" it by interpreting the requested change like the irc server would.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Aug 11, 2004 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2004-08-11T07:18:15-04:00</updated>

		<published>2004-08-11T07:18:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39685#p39685</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39685#p39685"/>
		<title type="html"><![CDATA[my mode changer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39685#p39685"><![CDATA[
try using pushmode and flushmode<div class="codebox"><p>Code: </p><pre><code> } else {    pushmode $chan $text   flushmode $chan   putquick "NOTICE $nick :Done."       set chanmodes2 [lindex [getchanmode $chan] 0]    putquick "NOTICE $nick :The current modes set on $chan are now: $chanmodes2"  }</code></pre></div>if that doesn't work add a utimer to get the chanmodes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Wed Aug 11, 2004 7:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-08-11T06:19:48-04:00</updated>

		<published>2004-08-11T06:19:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=39684#p39684</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=39684#p39684"/>
		<title type="html"><![CDATA[my mode changer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=39684#p39684"><![CDATA[
I made a small script that changes the chan modes, its really simple but i can't see to figure this out.<br><div class="codebox"><p>Code: </p><pre><code>proc pub:modeset {nick uhost hand chan text} {global lastbind      set chanmodes [lindex [getchanmode $chan] 0]if {$chanmodes == "+"} {set chanmodes "No chanmodes set"} else {set chanmodes [lindex [getchanmode $chan] 0]}if {$text == ""} {putquick "NOTICE $nick :Syntax : $lastbind +/-\[mode\]"putquick "NOTICE $nick :Current modes set on $chan are: $chanmodes"} else {putquick "MODE $chan $text"putquick "NOTICE $nick :Done."      set chanmodes2 [lindex [getchanmode $chan] 0]putquick "NOTICE $nick :The current modes set on $chan are now: $chanmodes2"}}</code></pre></div>When i change a mode, it won't show it in the new list, eventhough its made after the mode change, Plz help me to fix it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Wed Aug 11, 2004 6:19 am</p><hr />
]]></content>
	</entry>
	</feed>
