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

	<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-01-12T08:40:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[BigSjedow]]></name></author>
		<updated>2006-01-12T08:40:32-04:00</updated>

		<published>2006-01-12T08:40:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59348#p59348</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59348#p59348"/>
		<title type="html"><![CDATA[set nick doesn't work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59348#p59348"><![CDATA[
lol.., that was idd the problem...<br><br>thx m8 for the help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4147">BigSjedow</a> — Thu Jan 12, 2006 8:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-01-12T08:36:10-04:00</updated>

		<published>2006-01-12T08:36:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59347#p59347</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59347#p59347"/>
		<title type="html"><![CDATA[set nick doesn't work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59347#p59347"><![CDATA[
<blockquote class="uncited"><div>...and take a new name for the one in the arg list.</div></blockquote>Since I already knew you would make that mistake I explicitly told you...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Jan 12, 2006 8:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BigSjedow]]></name></author>
		<updated>2006-01-12T08:22:11-04:00</updated>

		<published>2006-01-12T08:22:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59343#p59343</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59343#p59343"/>
		<title type="html"><![CDATA[set nick doesn't work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59343#p59343"><![CDATA[
thx for the quick respone. <br>it does work, the putlog is executed so it should als execute the set nick<br><br>i added nick 2 the global list. but now i get an error on the party line:<br>Tcl error [keepnick:nick]: variable "nick" already exists<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4147">BigSjedow</a> — Thu Jan 12, 2006 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-01-12T08:13:41-04:00</updated>

		<published>2006-01-12T08:13:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59342#p59342</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59342#p59342"/>
		<title type="html"><![CDATA[set nick doesn't work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59342#p59342"><![CDATA[
well, I doubt that will work that way, because part and nick will trigger before the chanlist is updated so your check will always be false. you could do a workaround by using utimer 1, but that would slow down reaction speed. So best you directly compare $nick to $change_to.<br>btw you probably meant to add nick to global list and take a new name for the one in the arg list.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Thu Jan 12, 2006 8:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BigSjedow]]></name></author>
		<updated>2006-01-12T07:09:49-04:00</updated>

		<published>2006-01-12T07:09:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=59338#p59338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=59338#p59338"/>
		<title type="html"><![CDATA[set nick doesn't work]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=59338#p59338"><![CDATA[
Hey all,<br><br>got a problem here:<br><div class="codebox"><p>Code: </p><pre><code>set change_to "Sjaak"bind part -|- * keepnick:partproc keepnick:part {nick uhost hand chan reason} { keepnick:check $nick $chan }bind nick -|- * keepnick:nickproc keepnick:nick {nick uhost hand chan newnick} { keepnick:check $nick $chan }proc keepnick:check { nick chan } {  global change_to  if {[onchan $change_to $chan] == 0} {     set nick $change_to    putlog "Nick: $change_to"  }} </code></pre></div>i want the bot to take my nick when i leave the server.<br>so i wrote this code.<br>but the: set nick $change_to<br>doesn't work and the putlog does.<br><br>on the artyline i can type .tcl set nick Sjaak, and that works fine..<br><br>anyone an idea?<br><br>Thx <br><br>BigSjedow<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4147">BigSjedow</a> — Thu Jan 12, 2006 7:09 am</p><hr />
]]></content>
	</entry>
	</feed>
