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

	<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-10-15T11:38:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Devil]]></name></author>
		<updated>2004-10-15T11:38:35-04:00</updated>

		<published>2004-10-15T11:38:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41897#p41897</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41897#p41897"/>
		<title type="html"><![CDATA[why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41897#p41897"><![CDATA[
Guys, thank you very much for helping me, I really apreciate it <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=5505">Devil</a> — Fri Oct 15, 2004 11:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-15T10:11:52-04:00</updated>

		<published>2004-10-15T10:11:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41894#p41894</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41894#p41894"/>
		<title type="html"><![CDATA[why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41894#p41894"><![CDATA[
Actually I don't know but I like to group them togehter. Like when you have a long line of multiple functions, putting them into one line with ()'s in between makes them easier to seperate from each other.<br><br>To me they look nice when grouped; well not nice but they are easier for me to read, nothing else.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Oct 15, 2004 10:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-10-15T09:58:20-04:00</updated>

		<published>2004-10-15T09:58:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41893#p41893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41893#p41893"/>
		<title type="html"><![CDATA[why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41893#p41893"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code>if {([string match *$intro* $arg]) &amp;&amp; ([string match *$intro1* $arg])} {</code></pre></div></div></blockquote>Why do you use so many redundant parentheses? I've noticed you do that alot lately. ()'s are only needed when there's several parts of an expression that needs to be "grouped". The result of 'string match' is a single integer and to put parentheses around it make no sense.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Fri Oct 15, 2004 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[awyeah]]></name></author>
		<updated>2004-10-15T09:36:16-04:00</updated>

		<published>2004-10-15T09:36:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41886#p41886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41886#p41886"/>
		<title type="html"><![CDATA[why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41886#p41886"><![CDATA[
Well, why don't you just use "bind notc" instead of binding raw to NOTICE. Directly binding to notice would be easier, if you are only considering binding for PRIVATE NOTICES, CHANNEL NOTICES and *NOT* SERVER NOTICES.<br><br>Note:<div class="codebox"><p>Code: </p><pre><code>if {[string match *$intro* $arg]} {if {[string match *$intro1* $arg]} {</code></pre></div>Can be simplied further to:<div class="codebox"><p>Code: </p><pre><code>if {([string match *$intro* $arg]) &amp;&amp; ([string match *$intro1* $arg])} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4875">awyeah</a> — Fri Oct 15, 2004 9:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-10-14T22:03:19-04:00</updated>

		<published>2004-10-14T22:03:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41868#p41868</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41868#p41868"/>
		<title type="html"><![CDATA[why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41868#p41868"><![CDATA[
Post the original, unmodified, procedure.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Thu Oct 14, 2004 10:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Devil]]></name></author>
		<updated>2004-10-14T20:56:51-04:00</updated>

		<published>2004-10-14T20:56:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41867#p41867</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41867#p41867"/>
		<title type="html"><![CDATA[Re: why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41867#p41867"><![CDATA[
yeah, but i got that form awyeah in some other help topic I cant remember now... It's pretty strange hehe, can you tell me how to get it to work?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5505">Devil</a> — Thu Oct 14, 2004 8:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DarkJFMan]]></name></author>
		<updated>2004-10-14T20:52:47-04:00</updated>

		<published>2004-10-14T20:52:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41866#p41866</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41866#p41866"/>
		<title type="html"><![CDATA[Re: why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41866#p41866"><![CDATA[
bind raw - "NOTICE" intro<br><br>set intro "being"<br>set intro1 "introduced"<br><br><strong class="text-strong"> proc intro {from keyword arg} { </strong><br>global intro intro1<br>if {[string match *$intro* $arg]} {<br>if {[string match *$intro1* $arg]} {<br>putserv "PRIVMSG #sysops :SRV_INTRODUCED! [strftime \[%H:%M\]] $arg"<br>}<br>}<br>}<br><br>That's wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4261">DarkJFMan</a> — Thu Oct 14, 2004 8:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Devil]]></name></author>
		<updated>2004-10-14T20:45:18-04:00</updated>

		<published>2004-10-14T20:45:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=41864#p41864</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=41864#p41864"/>
		<title type="html"><![CDATA[why isn't this working?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=41864#p41864"><![CDATA[
Can someone help me out on this one? the bot returns this error.<div class="codebox"><p>Code: </p><pre><code> Tcl error [intro]: wrong # args: should be "intro from keyword arg"</code></pre></div>and here's how the tcl is now.<br><div class="codebox"><p>Code: </p><pre><code>bind raw - "NOTICE" introset intro "being"set intro1 "introduced"proc intro {from keyword arg} {global intro intro1if {[string match *$intro* $arg]} {if {[string match *$intro1* $arg]} {putserv "PRIVMSG #sysops :SRV_INTRODUCED! [strftime \[%H:%M\]] $arg"}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5505">Devil</a> — Thu Oct 14, 2004 8:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
