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

	<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>2007-05-07T12:34:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dokueki]]></name></author>
		<updated>2007-05-07T12:34:36-04:00</updated>

		<published>2007-05-07T12:34:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72592#p72592</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72592#p72592"/>
		<title type="html"><![CDATA[Quick Linking Again // Other Method This Time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72592#p72592"><![CDATA[
Thanks, I replaced "args" with "text" and it worked. Sorry for all the trouble!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8949">dokueki</a> — Mon May 07, 2007 12:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2007-05-07T11:13:24-04:00</updated>

		<published>2007-05-07T11:13:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72591#p72591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72591#p72591"/>
		<title type="html"><![CDATA[Quick Linking Again // Other Method This Time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72591#p72591"><![CDATA[
He told you to rename 'args' to anything else (1 word) and you replaced it with 'action sa' ... How about just 'text'?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon May 07, 2007 11:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-05-07T11:11:22-04:00</updated>

		<published>2007-05-07T11:11:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72590#p72590</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72590#p72590"/>
		<title type="html"><![CDATA[Quick Linking Again // Other Method This Time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72590#p72590"><![CDATA[
Why on earth would you replace "args" with multiple arguments ("action" and "sa")? The number of arguments in your proc-definition must match the number of arguments used when the binding triggers (with pub-bindings, this would be &lt;nickname&gt; &lt;host&gt; &lt;handle&gt; &lt;channel&gt; &lt;text&gt;).<br><br>The text ppl write in the channel will always use one argument with pub-bindings, it is up to you as a coder to gather the desired data from it...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon May 07, 2007 11:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dokueki]]></name></author>
		<updated>2007-05-07T11:04:24-04:00</updated>

		<published>2007-05-07T11:04:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72589#p72589</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72589#p72589"/>
		<title type="html"><![CDATA[Quick Linking Again // Other Method This Time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72589#p72589"><![CDATA[
I tried that. When I did, it would give me this error:<div class="codebox"><p>Code: </p><pre><code>[04:53:40 pm] &lt;Venom&gt; [11:53] Tcl error [spidey:xpro_link]: wrong # args: should be "spidey:xpro_link nick host hand chan action sa"</code></pre></div>And even if I fixed that, would it work if I put less parameters than necessary?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8949">dokueki</a> — Mon May 07, 2007 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-05-07T10:31:17-04:00</updated>

		<published>2007-05-07T10:31:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72587#p72587</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72587#p72587"/>
		<title type="html"><![CDATA[Quick Linking Again // Other Method This Time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72587#p72587"><![CDATA[
Yes, don't use "args" as a parameter name (anything else will do, just not "args")<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon May 07, 2007 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dokueki]]></name></author>
		<updated>2007-05-07T10:02:42-04:00</updated>

		<published>2007-05-07T10:02:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=72586#p72586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=72586#p72586"/>
		<title type="html"><![CDATA[Quick Linking Again // Other Method This Time]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=72586#p72586"><![CDATA[
Well, the other script was giving me trouble if I tried multiplying it for several links, so I thought I'd just stop going the SDK way and make the script for myself, as no one will need it from me anyways. So the scripts is as such:<div class="codebox"><p>Code: </p><pre><code>bind pub - "!xpro" spidey:xpro_linkproc spidey:xpro_link { nick host hand chan args } {   set params [split $args]   set action [lindex $params 0]   set sa [lindex $params 1]   putserv "NOTICE $nick :1. $action 2. $sa" if { $action == "" } {      putserv "PRIVMSG $chan :http://xpro.zeeblo.com (Requested by $nick)"   } elseif { $action != "" &amp;&amp; $sa == "" } {      putserv "NOTICE $nick :Not enough parameters."   } elseif { $action == "topic"} {      putserv "PRIVMSG $chan :http://xpro.zeeblo.com/index.php?topic=$sa (Requested by $nick)"   } elseif { $action == "forum"} {      putserv "PRIVMSG $chan :http://xpro.zeeblo.com/index.php?board=$sa (Requested by $nick)"   } elseif { $action == "user"} {      putserv "PRIVMSG $chan :http://xpro.zeeblo.com/index.php?action=profile;u=$sa (Requested by $nick)"   } elseif { $action == "action"} {      putserv "PRIVMSG $chan :http://xpro.zeeblo.com/index.php?$sa (Requested by $nick)"   }   return 0}putlog "xproDesigns Links 1.0 by Hen Asraf: Loaded"</code></pre></div>When outputting the notice at start to debug what was going on with the arguments, I noticed the first argument begins with { and the second ends with } so it outputted "1. {foo 2. bar}". Is there a way to stop this from happening and return everything without the braces?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8949">dokueki</a> — Mon May 07, 2007 10:02 am</p><hr />
]]></content>
	</entry>
	</feed>
