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

	<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>2003-07-11T05:53:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-07-11T05:53:10-04:00</updated>

		<published>2003-07-11T05:53:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23303#p23303</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23303#p23303"/>
		<title type="html"><![CDATA[Re: change nick script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23303#p23303"><![CDATA[
<blockquote class="uncited"><div>Config file:<div class="codebox"><p>Code: </p><pre><code>set varnick {  set readnick "[open "cach/n-cache" "r"]"  set varnick "[read $readnick]"  close $varnick}set nick "$varnick"set realname "$varnick"set botnet-nick "$varnick"</code></pre></div></div></blockquote>1. you should use gets instead of read<br>2. you are closing the wrong var....<br>3. no need for the "'s enclosing the brackets<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jul 11, 2003 5:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-07-10T19:17:57-04:00</updated>

		<published>2003-07-10T19:17:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=23285#p23285</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=23285#p23285"/>
		<title type="html"><![CDATA[change nick script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=23285#p23285"><![CDATA[
i set the nick in the n-cache file but it won't connect to irc i guesing it isn't reading the nick properly .. ?<br><br>Config file:<div class="codebox"><p>Code: </p><pre><code>set varnick {  set readnick "[open "cach/n-cache" "r"]"  set varnick "[read $readnick]"  close $varnick}set nick "$varnick"set realname "$varnick"set botnet-nick "$varnick"</code></pre></div>Script:<br><div class="codebox"><p>Code: </p><pre><code>bind PUB m !setnick setnick:pubproc setnick:pub {nick uhost hand chan arg} {global botnick  set botnick me  set oldnick [lindex $arg 0]  set newnick [lindex $arg 1]  if {$me == "$botnick"} {      set writenick [open "cache/n-cache" "w"]      puts -nonewline $writenick $newnick       close $writenick      rehash      putquick "NOTICE $nick :Botnick succesfully changed"  }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Jul 10, 2003 7:17 pm</p><hr />
]]></content>
	</entry>
	</feed>
