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

	<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-05-23T08:22:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-05-23T08:22:13-04:00</updated>

		<published>2003-05-23T08:22:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20555#p20555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20555#p20555"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20555#p20555"><![CDATA[
<blockquote class="uncited"><div>This might be an old TCL or something like this, not shure of it anyway.</div></blockquote>In that case he's not got the equal option at all... abbreviation has been avaliable for the string command since at least 7.6 and the equal option was added in 8.1 iirc.<br><blockquote class="uncited"><div>could somebody tell me the complete code and if it's possible to make a list of notices that I'd like bot not to show.</div></blockquote>I already gave you some complete code...if you don't believe me, try 'info complete &lt;that code&gt;' <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><br>And, yes, it's possible to make a list of the notices you don't want to show, but then you'd also need a script using that list for something, right? <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=2878">user</a> — Fri May 23, 2003 8:22 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-23T07:55:14-04:00</updated>

		<published>2003-05-23T07:55:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20553#p20553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20553#p20553"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20553#p20553"><![CDATA[
could somebody tell me the complete code and if it's possible to make a list of notices that I'd like bot not to show.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Fri May 23, 2003 7:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-23T07:25:51-04:00</updated>

		<published>2003-05-23T07:25:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20552#p20552</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20552#p20552"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20552#p20552"><![CDATA[
Yes, I agree with you user on the abbreviated part, but seems that is not working propertly on Realz script. This might be an old TCL or something like this, not shure of it anyway.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri May 23, 2003 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-05-23T06:35:34-04:00</updated>

		<published>2003-05-23T06:35:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20546#p20546</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20546#p20546"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20546#p20546"><![CDATA[
Options can be abbreviated. That means you only need the minimum number of chars that uniquely identifies an option..eg:<br>'string e ...' works fine because 'equal' is the only option starting with an 'e', but if you'd do 'string i ...' you get an error message like 'ambiguous option "i": must be &lt;list of options&gt;'.<br><br>Commands that accept abbreviated options has this stated on their manual page. So check the manual before doing it and keep in mind that options added in a future version of Tcl may render your option ambiguous.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri May 23, 2003 6:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-23T06:30:14-04:00</updated>

		<published>2003-05-23T06:30:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20545#p20545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20545#p20545"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20545#p20545"><![CDATA[
You are quite correct. However, so is User.<br><br>Tcl uses an abbreviation system, so as long as there are not two commands clashing with your abbreaviation, Tcl will work.<br><br>Look at the lines of lindex. You can use end, en or e as the index, to mean the last idx.<br><br>Another example, using "chann set #channel +test" works fine for eggdrop commands in Tcl, due to the abbreviation system.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri May 23, 2003 6:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-23T06:17:26-04:00</updated>

		<published>2003-05-23T06:17:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20543#p20543</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20543#p20543"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20543#p20543"><![CDATA[
I was talking about the "string eq" thing, as far as I know there is no eq in the string, just the equal. Correct me if I'm wrong..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri May 23, 2003 6:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-05-23T06:10:26-04:00</updated>

		<published>2003-05-23T06:10:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20542#p20542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20542#p20542"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20542#p20542"><![CDATA[
<blockquote class="uncited"><div>Try with equal, instead of eq.</div></blockquote>Why? Actually a single "e" is enough.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri May 23, 2003 6:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-05-23T05:56:08-04:00</updated>

		<published>2003-05-23T05:56:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20540#p20540</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20540#p20540"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20540#p20540"><![CDATA[
Try with equal, instead of eq.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri May 23, 2003 5:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-23T04:51:10-04:00</updated>

		<published>2003-05-23T04:51:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20536#p20536</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20536#p20536"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20536#p20536"><![CDATA[
an error occured:<br><div class="codebox"><p>Code: </p><pre><code>[10:55] Tcl error [xnotc]: syntax error in expression "[string eq $f "X!cservice@undernet.org"]&amp;&amp;\ [string first ""</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Fri May 23, 2003 4:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-05-23T02:37:02-04:00</updated>

		<published>2003-05-23T02:37:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20534#p20534</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20534#p20534"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20534#p20534"><![CDATA[
that last expr should do it all...btw: remember the bind<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri May 23, 2003 2:37 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-23T02:29:48-04:00</updated>

		<published>2003-05-23T02:29:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20533#p20533</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20533#p20533"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20533#p20533"><![CDATA[
and where does the return 0 go?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Fri May 23, 2003 2:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-05-22T17:00:56-04:00</updated>

		<published>2003-05-22T17:00:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20527#p20527</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20527#p20527"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20527#p20527"><![CDATA[
Do you want us to hold your hand while you copy and paste it too?<br><div class="codebox"><p>Code: </p><pre><code>proc xnotc {f k a} {    expr {[string eq $f "X!cservice@undernet.org"]&amp;&amp;\          [string first "Specified ban is already in my banlist!" $a]&gt;-1}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Thu May 22, 2003 5:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-05-22T16:26:51-04:00</updated>

		<published>2003-05-22T16:26:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20526#p20526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20526#p20526"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20526#p20526"><![CDATA[
so what is the complete code? <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=2044">ReaLz</a> — Thu May 22, 2003 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-05-22T16:15:50-04:00</updated>

		<published>2003-05-22T16:15:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20525#p20525</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20525#p20525"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20525#p20525"><![CDATA[
Bah..you're rigth Papillon <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=2878">user</a> — Thu May 22, 2003 4:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Papillon]]></name></author>
		<updated>2003-05-22T16:10:34-04:00</updated>

		<published>2003-05-22T16:10:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=20524#p20524</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=20524#p20524"/>
		<title type="html"><![CDATA[raw notice]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=20524#p20524"><![CDATA[
<blockquote class="uncited"><div>...Or could of course skip the adding and make the bind for - instead of X and do if {[string eq $f "X!<a href="mailto:cservice@undernet.org">cservice@undernet.org</a>"]} {return 0} before the expr.</div></blockquote>he would have to do that cause bind raw ignores flags<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=852">Papillon</a> — Thu May 22, 2003 4:10 pm</p><hr />
]]></content>
	</entry>
	</feed>
