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

	<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>2005-05-07T18:57:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-05-07T17:14:48-04:00</updated>

		<published>2005-05-07T17:14:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49176#p49176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49176#p49176"/>
		<title type="html"><![CDATA[Example]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49176#p49176"><![CDATA[
Oops typo Alert..!!<br><blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>of {$value &gt; 8} { &lt;body&gt; }</code></pre></div></div></blockquote>should be <br><div class="codebox"><p>Code: </p><pre><code>if {$value &gt; 8} { &lt;body&gt; }</code></pre></div>There is no operater called <em class="text-italics">'of'</em> just to make things a little clearer. Usually I would not of said anything but as you are learning I thought it best to mention it<br><br>Cheers<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Sat May 07, 2005 5:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-05-07T18:57:23-04:00</updated>

		<published>2005-05-07T14:34:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49171#p49171</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49171#p49171"/>
		<title type="html"><![CDATA[Example]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49171#p49171"><![CDATA[
suppose this<div class="codebox"><p>Code: </p><pre><code>set suppose "bla"</code></pre></div>if you want to check if suppose matches bla then use this<div class="codebox"><p>Code: </p><pre><code>if {$suppose == "bla"} { &lt;body&gt; }</code></pre></div>if you want to check if it doesn't match then use<div class="codebox"><p>Code: </p><pre><code>if {$suppose != "bla"} { &lt;body&gt; }</code></pre></div>ofcourse, this is case sensitive. For example if $suppose is Bla it will not match bla. so you can use<div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase "bla" $suppose]} { &lt;body&gt; }</code></pre></div>or add '!' if you want to check if it doesn't match.<br><br>using the first method, you can also check if a value is greater, less or equal.. like suppose<div class="codebox"><p>Code: </p><pre><code>set value 10</code></pre></div>you can do checks like<div class="codebox"><p>Code: </p><pre><code>if {$value &gt; 8} { &lt;body&gt; }</code></pre></div>this is true since 10 is greater than 8<br>you can also use &gt;= which means greater or equal.. from here you can get the concept.<br><br>Edit: Fixed typo, thanx ^DooM^<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat May 07, 2005 2:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Drago]]></name></author>
		<updated>2005-05-07T13:59:53-04:00</updated>

		<published>2005-05-07T13:59:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49170#p49170</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49170#p49170"/>
		<title type="html"><![CDATA[Example]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49170#p49170"><![CDATA[
Hay i whant to learn tcl scripting and i'm reading the suninet faq but i don't understand one thing <a href="http://www.suninet.nl/tclguide/index.php?chap=7&amp;pg=1" class="postlink">http://www.suninet.nl/tclguide/index.php?chap=7&amp;pg=1</a> plz give me some example for this... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6089">Drago</a> — Sat May 07, 2005 1:59 pm</p><hr />
]]></content>
	</entry>
	</feed>
