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

	<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>2002-03-03T10:46:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-03T10:46:00-04:00</updated>

		<published>2002-03-03T10:46:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=5009#p5009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=5009#p5009"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=5009#p5009"><![CDATA[
Ahh Mentolboy, that's what I meant. You got it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"> Anyway, I've figured out how should it be like and it's working fine now. Thanks Everyone <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><p>Statistics: Posted by Guest — Sun Mar 03, 2002 10:46 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Petersen]]></name></author>
		<updated>2002-03-01T11:34:00-04:00</updated>

		<published>2002-03-01T11:34:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4980#p4980</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4980#p4980"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4980#p4980"><![CDATA[
standard vars can act as bools when set as positive integers (with 0 being false and anything else being true).<br><br>eg<br><br>if {$var} {<br>#code to run if true<br>} else {<br>#code to run if false<br>}<br><br>also the ! operator can be used to reverse this<br>eg<br><br>if {!($var)} {<br>#code to run if false<br>} else {<br>#code to run if true<br>}<br><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=60">Petersen</a> — Fri Mar 01, 2002 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-03-01T11:24:00-04:00</updated>

		<published>2002-03-01T11:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4979#p4979</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4979#p4979"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4979#p4979"><![CDATA[
global selected, answ<br>if { selected == 1 } { set answ "yes" }<br>elseif { selected == 0 } { set answ "no" }<br><br>is this what you mean or am I not getting your point? In other languages you can use a boolean var, I'm not sure if you can use it in TCL, but my code will work just fine.<br>Grtz<p>Statistics: Posted by Guest — Fri Mar 01, 2002 11:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2002-02-28T18:02:00-04:00</updated>

		<published>2002-02-28T18:02:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4963#p4963</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4963#p4963"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4963#p4963"><![CDATA[
What do you mean by "selected"?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Thu Feb 28, 2002 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-27T05:52:00-04:00</updated>

		<published>2002-02-27T05:52:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4942#p4942</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4942#p4942"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4942#p4942"><![CDATA[
ahh, I've got it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"> Thanks anyway. Btw, how can I write a yes/no choice? For example, if 1 is selected, it is yes and 0 is selected, it is no. How can I do that to apply in my script?<p>Statistics: Posted by Guest — Wed Feb 27, 2002 5:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Souperman]]></name></author>
		<updated>2002-02-27T02:42:00-04:00</updated>

		<published>2002-02-27T02:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4941#p4941</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4941#p4941"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4941#p4941"><![CDATA[
bind mode xxxxxxx<br><br>See tcl-commands.doc for the details.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=801">Souperman</a> — Wed Feb 27, 2002 2:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-02-27T02:13:00-04:00</updated>

		<published>2002-02-27T02:13:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=4940#p4940</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=4940#p4940"/>
		<title type="html"><![CDATA[Which bind to use?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=4940#p4940"><![CDATA[
Hi,<br><br>Can i know which bind should I use if I want the bot to echo to channel main when someone voice (+v) it? Thanks.<p>Statistics: Posted by Guest — Wed Feb 27, 2002 2:13 am</p><hr />
]]></content>
	</entry>
	</feed>
