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

	<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-01-18T00:28:44-04:00</updated>

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

		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2003-01-18T00:28:44-04:00</updated>

		<published>2003-01-18T00:28:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15484#p15484</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15484#p15484"/>
		<title type="html"><![CDATA[Re: Sorry you have miss understanded me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15484#p15484"><![CDATA[
<blockquote class="uncited"><div>Sorry I was talking about taking the value from the configure file and puting it into TCL... eg:<br>...<br><div class="codebox"><p>Code: </p><pre><code>proc testbotnet {} { global botnet-nick  puthelp "PRIVMSG ThePope :$botnet-nick"}</code></pre></div></div></blockquote>  The problem is that TCL will stop processing of the variable prior to the minus sign.  To tell TCL that you specifically mean the variable which includes a hyphen in it, and not a variable followed by a hyphen string at the end of it, you would use ${botnet-nick} (note the curly braces...)..<br><br>  I am fairly sure this is covered in suninet's TCL tutorial, which you should definitley check out.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sat Jan 18, 2003 12:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spyda]]></name></author>
		<updated>2003-01-17T20:23:31-04:00</updated>

		<published>2003-01-17T20:23:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15481#p15481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15481#p15481"/>
		<title type="html"><![CDATA[Sorry you have miss understanded me]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15481#p15481"><![CDATA[
Sorry I was talking about taking the value from the configure file and puting it into TCL... eg:<br><div class="codebox"><p>Code: </p><pre><code>proc testproc {} { global botnick puthelp "PRIVMSG ThePope :$botnick"}</code></pre></div>That will allow for me to use $botnick. BUT.. when I try and replace the $botnick with $botnet-nick. The bot crashs!<br><div class="codebox"><p>Code: </p><pre><code>proc testbotnet {} { global botnet-nick  puthelp "PRIVMSG ThePope :$botnet-nick"}</code></pre></div>Hope that helps you more with helping my little problem..<br><br>I am trying to put the botnet-nick onto a http page.. But I have no idea other then using [bots] then matching the bot to the botnet-nick.. But I am sure there is a easyer way?<br><br>Thanx<br>------------<br>ThePope<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1731">spyda</a> — Fri Jan 17, 2003 8:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-01-17T20:15:52-04:00</updated>

		<published>2003-01-17T20:15:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15479#p15479</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15479#p15479"/>
		<title type="html"><![CDATA[Just a little question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15479#p15479"><![CDATA[
from configfile:<br><br># If you want to use a different nickname on the botnet than you use on<br># IRC (i.e. if you're on an un-trusted botnet), un-comment the next line<br># and set it to the nick you would like to use.<br>#set botnet-nick "LlamaBot"<br><br>from tcl-commands.doc:<br><br>GLOBAL VARIABLES:<br>  (All config-file variables are global, too. But these variables<br>  are set by the bot.)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Fri Jan 17, 2003 8:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spyda]]></name></author>
		<updated>2003-01-17T20:11:48-04:00</updated>

		<published>2003-01-17T20:11:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=15478#p15478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=15478#p15478"/>
		<title type="html"><![CDATA[Just a little question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=15478#p15478"><![CDATA[
Merry Xmas all and Happy New Year.<br><br>Finally got some time to do some more scripting..... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I am just making a http live stats TCL. The question that I have is mostlikly stupid, but I cant find the value.<br><div class="codebox"><p>Code: </p><pre><code>set botnet-nick "PopeOp"set botnick "PopeBot"</code></pre></div>I know how to pull the $botnick value (that is easy).. but what is the value to use the botnet-nick. Is there one??? <br><br>Thanx<br>------------<br>ThePope<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1731">spyda</a> — Fri Jan 17, 2003 8:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
