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

	<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>2004-07-13T21:35:50-04:00</updated>

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

		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-13T21:35:50-04:00</updated>

		<published>2004-07-13T21:35:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38600#p38600</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38600#p38600"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38600#p38600"><![CDATA[
I am studying Digital Logic Design myself, so  am familiar with logical operations, such as EXOR, NOR, NAND, NOT, AND, OR and etc.  <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=4875">awyeah</a> — Tue Jul 13, 2004 9:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2004-07-13T19:02:04-04:00</updated>

		<published>2004-07-13T19:02:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38595#p38595</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38595#p38595"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38595#p38595"><![CDATA[
<blockquote class="uncited"><div>XOR would be nice. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>See the Tcl Manpages for expr. (Hint: ^)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Tue Jul 13, 2004 7:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-07-13T06:57:28-04:00</updated>

		<published>2004-07-13T06:57:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38548#p38548</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38548#p38548"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38548#p38548"><![CDATA[
oh - thought you were asking for some kind of drink or something lol<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Tue Jul 13, 2004 6:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-13T06:51:25-04:00</updated>

		<published>2004-07-13T06:51:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38546#p38546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38546#p38546"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38546#p38546"><![CDATA[
<blockquote class="uncited"><div>In <a href="http://en.wikipedia.org/wiki/Logic" class="postlink">logic</a>, exclusive disjunction is a <a href="http://en.wikipedia.org/wiki/Logical_operator" class="postlink">logical operator</a>. The exclusive disjunction of <a href="http://en.wikipedia.org/wiki/Proposition" class="postlink">propositions</a> A and B is usually called A xor B, where "xor" stands for "exclusive or" and is pronounced "eks-or".<br><br>The operation yields the result TRUE when one, and only one, of its operands is TRUE.</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Jul 13, 2004 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-07-13T05:31:16-04:00</updated>

		<published>2004-07-13T05:31:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38541#p38541</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38541#p38541"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38541#p38541"><![CDATA[
???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Tue Jul 13, 2004 5:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-07-13T04:56:07-04:00</updated>

		<published>2004-07-13T04:56:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38535#p38535</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38535#p38535"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38535#p38535"><![CDATA[
XOR would be nice. <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=3646">Alchera</a> — Tue Jul 13, 2004 4:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-12T21:08:55-04:00</updated>

		<published>2004-07-12T21:08:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38504#p38504</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38504#p38504"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38504#p38504"><![CDATA[
No problemo!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mrgreen.gif" width="15" height="15" alt=":mrgreen:" title="Mr. Green"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Jul 12, 2004 9:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-07-12T08:21:54-04:00</updated>

		<published>2004-07-12T08:21:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38471#p38471</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38471#p38471"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38471#p38471"><![CDATA[
thanks awyeah  <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=2210">NewzUK</a> — Mon Jul 12, 2004 8:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-07-12T21:09:36-04:00</updated>

		<published>2004-07-12T07:56:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38470#p38470</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38470#p38470"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38470#p38470"><![CDATA[
*** IN TCL ***<br>TCL has many string command functions and alot of operators resembling the ones in mIRC scripting. Yes || (logical OR) and &amp;&amp; (logical AND) are availiable in TCL similar to mIRC.<br><br><a href="http://www.sciences.univ-nantes.fr/info/perso/permanents/gaumer/TclTk/TclCmd/expr.htm#M6" class="postlink">http://www.sciences.univ-nantes.fr/info ... xpr.htm#M6</a><br><br>In tcl you have many string manipulation commands:<br><br>- string match<br>- string compare<br>- string equal<br>- string map<br>.... these are just a few.<br><br>For a list of all tcl string commands you can refer to:<br><br><a href="http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M3" class="postlink">http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm#M3</a><br><br><br>*** IN MIRC ***<br>For string comparison in mIRC you might want<br>to see the help files, and look in the INDEX for<br>contents of matching. Here are some string matching<br>operators which I am aware of:<br><br>== 'for string comparison'<br>=== 'for string comparison case-sensitive'<br><div class="codebox"><p>Code: </p><pre><code> if {$var == 1} { ...........} if {($var == "blabla")} { .......} if {($mystring === $myvar)} { ...........}</code></pre></div>Here are some I found through the help files, of mIRC:<br><div class="codebox"><p>Code: </p><pre><code>The Operators==equal to===equal to (case-sensitive)!=not equal to&lt;less than&gt;larger than&gt;=larger than or equal to                &lt;=smaller than or equal to//v2 is a multiple of v1\\v2 is not a multiple of v1&amp;bitwise comparisonisinstring v1 is in string v2isincsstring v1 is in string v2 (case sensitive)iswmwildcard string v1 matches string v2isnumnumber v1 is a number in the range v2isletterletter v1 is a letter in the list of v2isalnumtext contains only letters and numbersisalphatext contains only lettersislowertext contains only lower case lettersisuppertext contains only upper case lettersisonnickname v1 is on channel v2isopnickname v1 is an op on channel v2ishopnickname v1 is a halfop on channel v2isvoicenickname v1 has a voice on channel v2isregnickname v1 is a normal nick on channel v2ischanif v1 is a channel which you are on.isbanif v1 is a banned address in internal ban listisaopif v1 is a user in your auto-op list channel v2 isavoiceif v1 is a user in your auto-voice channel v2isignoreif v1 is a user in your ignore list with ignoreisprotectif v1 is a user in your protect list of v2isnotifyif v1 is a user in your notify list.</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Mon Jul 12, 2004 7:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-07-12T07:10:49-04:00</updated>

		<published>2004-07-12T07:10:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38469#p38469</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38469#p38469"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38469#p38469"><![CDATA[
lol well thank you both - hopefull we'll find the answer soon  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Mon Jul 12, 2004 7:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-12T06:45:17-04:00</updated>

		<published>2004-07-12T06:45:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38468#p38468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38468#p38468"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38468#p38468"><![CDATA[
well i don't script mirc and i figured thats what he meant, if u know better post it yourself?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jul 12, 2004 6:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-07-12T06:10:33-04:00</updated>

		<published>2004-07-12T06:10:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38467#p38467</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38467#p38467"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38467#p38467"><![CDATA[
yep that's the thing I'm looking for for TCL  <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=2210">NewzUK</a> — Mon Jul 12, 2004 6:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[KrzychuG]]></name></author>
		<updated>2004-07-12T06:03:50-04:00</updated>

		<published>2004-07-12T06:03:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38466#p38466</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38466#p38466"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38466#p38466"><![CDATA[
MeTroiD: you're wrong. <strong class="text-strong">else</strong> or <strong class="text-strong">else if</strong> is not the same as <strong class="text-strong">|| (or)</strong>.<br>In mIRC you can also use <strong class="text-strong">||</strong>, for example:<div class="codebox"><p>Code: </p><pre><code>if (($1 == $null) || ($2 == $null)) { goto printIAL.error }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3672">KrzychuG</a> — Mon Jul 12, 2004 6:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-07-12T06:02:03-04:00</updated>

		<published>2004-07-12T06:02:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38465#p38465</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38465#p38465"/>
		<title type="html"><![CDATA[|| 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38465#p38465"><![CDATA[
I mean within a line - it's like &amp;&amp; but means 'or'...will try to find an example.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Mon Jul 12, 2004 6:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2004-07-12T05:50:04-04:00</updated>

		<published>2004-07-12T05:50:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=38464#p38464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=38464#p38464"/>
		<title type="html"><![CDATA[Re: || 'or']]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=38464#p38464"><![CDATA[
<blockquote class="uncited"><div>Hi<br><br>Is there a command for TCL similar to || (or) in mIRC for the comparing of strings etc.?<br><br>Thanks.</div></blockquote><div class="codebox"><p>Code: </p><pre><code>} else {</code></pre></div>or <div class="codebox"><p>Code: </p><pre><code>} elseif {*something*} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Mon Jul 12, 2004 5:50 am</p><hr />
]]></content>
	</entry>
	</feed>
