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

	<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-09-09T08:45:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-09T08:45:52-04:00</updated>

		<published>2002-09-09T08:45:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10689#p10689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10689#p10689"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10689#p10689"><![CDATA[
i using notepad now, fixed the problem nicely. <br><br>Damn ", those curly ones suck ass<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Mon Sep 09, 2002 8:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-09T05:55:41-04:00</updated>

		<published>2002-09-09T05:55:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10683#p10683</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10683#p10683"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10683#p10683"><![CDATA[
My sugestion would be to use a different editor.<br><br>Do a search on the net for "pfe32".<br><br>It's a good, free editor, that can save as usix files.<br><br>WHile it may not be developed any more, it works without fail.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Sep 09, 2002 5:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-07T03:40:42-04:00</updated>

		<published>2002-09-07T03:40:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10601#p10601</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10601#p10601"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10601#p10601"><![CDATA[
oh yeah....<br><br>my keyboard produces ", dont know where the slanted ones came from<br><br>Hmmm, edit them all into the same type. And i get the puthelp, wrong number of Arguements, and putcmdlog, wrong number of arguements. <br><br>Damn frustrating. What else is wrong?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Sat Sep 07, 2002 3:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-09-07T02:16:07-04:00</updated>

		<published>2002-09-07T02:16:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10597#p10597</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10597#p10597"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10597#p10597"><![CDATA[
Is it just my eyes playing tricks on me, or are you using two different types of quotation marks?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Sat Sep 07, 2002 2:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-06T13:28:35-04:00</updated>

		<published>2002-09-06T13:28:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10588#p10588</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10588#p10588"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10588#p10588"><![CDATA[
Hey<br><br>Well i did some work on it. Kinda improved the script so it works now... well, it doesnt produce arguement errors and triggers those errors on production of !staturl<br><br>[18:26:39] &lt;Minako&gt; [18:26] Tcl error [pub:livestat]: missing "<br><br>I get this from the bot. Looks like a syntax error, but i cant find where the missing " goes<br><blockquote class="uncited"><div>#Provides the !staturl public event<br>bind pub - “!staturl” pub:livestat<br>proc pub:livestat {nick host hand chan livestaturl } { <br>   putcmdlog "&lt;$nick@$chan&gt; !$hand! staturl"<br>   puthelp "PRIVMSG $chan :The Livestats URL is $livestaturl” <br>}<br><br>putlog "\Livestats V0.1 by Weirdo"</div></blockquote>Thats the script as is, cant find out where the missing " is at all. Any ideas people?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Sep 06, 2002 1:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-06T10:26:37-04:00</updated>

		<published>2002-09-06T10:26:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10578#p10578</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10578#p10578"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10578#p10578"><![CDATA[
Ah, i get it. So for this particular script, running where !staturl is placed as the first word on a line, PUB would be much easier. And i set it to look for !staturl as the command?<br><br>Will the script automatically look for this in all channels the bot is on? Kinda confused where you put the bit where you tell it to send the notice to the user which says this command. Do you put it in a separate procedure which is associated to the bind?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Sep 06, 2002 10:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-06T08:18:35-04:00</updated>

		<published>2002-09-06T08:18:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10566#p10566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10566#p10566"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10566#p10566"><![CDATA[
In PUBM, it states, it is like MSGM.<br><blockquote class="uncited"><div>    (5)  MSGM (stackable)<br>         bind msgm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;text&gt;<br><br>         Description: matches the entire line of text from a /msg with the<br>           mask. This is useful for binding Tcl procs to words or phrases<br>           spoken anywhere within a line of text.<br>         Module: server</div></blockquote>Thus, PUBM is the channel triggered version.<br><br>This bind allows you to match whole lines, rather than just the first word, based on a trigger.<br><br>IE, take this line of incoming text<blockquote class="uncited"><div>Visit <a href="http://www.egghelp.org/" class="postlink">http://www.egghelp.org/</a> for help with eggdrop setup</div></blockquote>If you use a mask of "* http://*", in PUBM or MSGM, it will trigger on any line (based on the bind, and where the message is destined) that has a URL, begining with http://.<br><br>Whereas PUB and MSG binds, expect a ketword, that is the first word in a line of text.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 06, 2002 8:18 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-06T08:03:32-04:00</updated>

		<published>2002-09-06T08:03:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10565#p10565</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10565#p10565"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10565#p10565"><![CDATA[
    (4)  PUB<br>         bind pub &lt;flags&gt; &lt;command&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>         Description: used for commands given on a channel. The first word<br>           becomes the command and everything else is the text argument.<br>         Module: irc<br><br>So this one might be more suited for !staturl or commands given in channel rather than pubm?<br><br>The only difference i see in the syntax is the &lt;command&gt; replacing the &lt;mask&gt; used in pubm<br><br>Still not sure if i am grasping this correctly...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Fri Sep 06, 2002 8:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-06T04:43:08-04:00</updated>

		<published>2002-09-06T04:43:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10553#p10553</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10553#p10553"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10553#p10553"><![CDATA[
Re-read tcl-commands.doc<br><br>There is a differance between the PUBM and PUB binds.<br><br>Looking at your script, you have not yet grasped the differance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Sep 06, 2002 4:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-05T21:44:24-04:00</updated>

		<published>2002-09-05T21:44:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10542#p10542</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10542#p10542"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10542#p10542"><![CDATA[
Yah it's right. For future reference you may find it faster to just try it than ask though hehe.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Sep 05, 2002 9:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-05T20:53:37-04:00</updated>

		<published>2002-09-05T20:53:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10540#p10540</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10540#p10540"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10540#p10540"><![CDATA[
(6)  PUBM (stackable)<br>         bind pubm &lt;flags&gt; &lt;mask&gt; &lt;proc&gt;<br>         procname &lt;nick&gt; &lt;user@host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;<br><br>         Description: just like MSGM, except it's triggered by things said<br>           on a channel instead of things /msg'd to the bot. The mask is<br>           matched against the channel name followed by the text and can<br>           contain wildcards.<br>         Module: irc<br><br>Is that right?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Thu Sep 05, 2002 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-05T20:50:41-04:00</updated>

		<published>2002-09-05T20:50:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10539#p10539</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10539#p10539"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10539#p10539"><![CDATA[
Check tcl-commands.doc for the number of arguments and the order they're supposed to be in. You can't just type words there and have eggdrop understand what you mean :)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Thu Sep 05, 2002 8:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Weirdo]]></name></author>
		<updated>2002-09-05T17:14:28-04:00</updated>

		<published>2002-09-05T17:14:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10536#p10536</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10536#p10536"/>
		<title type="html"><![CDATA[My First Script - Too many arguements]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10536#p10536"><![CDATA[
Hi<br><br>Decided today  would learn tcl. Make a simple script that when !staturl was entered in any of its channels, would display the livestats url. I got it to the point where the only error i get is this. <br><br>[22:05:46] &lt;Minako&gt; [22:05] Tcl error [livestat_announce]: called "livestat_announce" with too many arguments<br><br>But i really dont have a clue what is going wrong<br><br>This is the script itself<br><br>set livestaturl “<a href="http://seb01.dns2go.com:4000" class="postlink">http://seb01.dns2go.com:4000</a>”<br><br>bind pubm - !staturl livestat_announce <br><br>proc livestat_announce {nick chan text} {<br>set $chan #cometanime<br>set $text <a href="http://seb01.dns2go.com:4000" class="postlink">http://seb01.dns2go.com:4000</a><br>putnotc $nick $text<br>}<br><br>Kinda crappy i know. But could you help me with it?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1195">Weirdo</a> — Thu Sep 05, 2002 5:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
