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

	<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>2001-12-02T22:42:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-02T22:42:00-04:00</updated>

		<published>2001-12-02T22:42:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2354#p2354</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2354#p2354"/>
		<title type="html"><![CDATA[Variable?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2354#p2354"><![CDATA[
Thanks alot ppslim..<br><p>Statistics: Posted by Guest — Sun Dec 02, 2001 10:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2001-12-02T22:08:00-04:00</updated>

		<published>2001-12-02T22:08:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2351#p2351</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2351#p2351"/>
		<title type="html"><![CDATA[Variable?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2351#p2351"><![CDATA[
It all depends how you define your "proc" command for the script.<br><br>In a pub command script, the proc would look somthing like<blockquote class="uncited"><div>proc command {1 2 3 4 5} {</div></blockquote>the 1 to 5 do not have to be a set name, but rather what you want to refer the data passed to them as, in the script.<br>1 would be the nick<br>2 would be the user@host<br>3 would be the handle<br>4 would be the channel<br>5 would be the rest of the test sent to the command on IRC<br><br>In this case, where you see $chan in many scripts, is because some1 has used "chan" in place of the number 4 in the above example.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Dec 02, 2001 10:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2001-12-02T21:41:00-04:00</updated>

		<published>2001-12-02T21:41:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=2350#p2350</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=2350#p2350"/>
		<title type="html"><![CDATA[Variable?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=2350#p2350"><![CDATA[
Is there a pre set Variable for the channel..<br>I have been lookin thro outher scripts and I see alot of $chan but no "set chan &lt;&gt;"<br><br>I used it in my script <div class="codebox"><p>Code: </p><pre><code> putlog "!op command used in $chan" </code></pre></div>the bot sys in the party line "TCL error [pub:op]: can't read "chan": no such variable"<br>is there something I am doing rong?<br>is there a list of the pre set Variables?<br><br>Thanks in advanced..<br><p>Statistics: Posted by Guest — Sun Dec 02, 2001 9:41 pm</p><hr />
]]></content>
	</entry>
	</feed>
