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

	<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-06-02T18:00:21-04:00</updated>

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

		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-06-02T18:00:21-04:00</updated>

		<published>2003-06-02T18:00:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21147#p21147</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21147#p21147"/>
		<title type="html"><![CDATA[$botnet-nick , ok... but, in tcl?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21147#p21147"><![CDATA[
Yes, I know they can appear 100% unrelated, but I needed $botnet-nick variable to create a function like this:<br><br> if {[${botnet-nick} == $hubbot]} {<br>commands<br>}<br><br>but, I created it using<br><br>if {[isbotnetnick $hubbot]} {<br>commands<br>}<br><br>so, for me it's the same thing  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> <br>however, tnx for the ${botnet-nick} tip  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Mon Jun 02, 2003 6:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-06-01T10:16:08-04:00</updated>

		<published>2003-06-01T10:16:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21020#p21020</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21020#p21020"/>
		<title type="html"><![CDATA[$botnet-nick , ok... but, in tcl?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21020#p21020"><![CDATA[
The 2 items of code you pasted are 100% unrelated.<br><br>$botnet-nick contains the nickname, the "isbotnetnick" command is used to test if the value you is or isn't the botnetnick (IE, returns 1 or 0, nothing more).<br><br>Tcl doesn't work properly with the "-" symbol in statments, due to it's other uses. Use ${botnet-nick} (notice the curly braces)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Jun 01, 2003 10:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-06-01T07:52:30-04:00</updated>

		<published>2003-06-01T07:52:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21015#p21015</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21015#p21015"/>
		<title type="html"><![CDATA[ok, done :)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21015#p21015"><![CDATA[
ok, I used a <br>if {[isbotnetnick $bot]} <br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Sun Jun 01, 2003 7:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[FIDe`]]></name></author>
		<updated>2003-06-01T07:18:19-04:00</updated>

		<published>2003-06-01T07:18:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21013#p21013</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21013#p21013"/>
		<title type="html"><![CDATA[$botnet-nick , ok... but, in tcl?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21013#p21013"><![CDATA[
In my config file, I set , for example:<br><br>set botnet-nick "leetbot"<br><br>but, if I try to .tcl dccbroadcast $botnet-nick <br>it says:<br><br>.tcl dccbroadcast $botnet-nick<br>Tcl error: can't read "botnet": no such variable<br><br>What is the TCL correspondent to the botnet-nick variable?<br>Sorry for the lame question.<br>Thank you[/i]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2739">FIDe`</a> — Sun Jun 01, 2003 7:18 am</p><hr />
]]></content>
	</entry>
	</feed>
