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

	<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-04-11T17:19:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-11T17:19:20-04:00</updated>

		<published>2003-04-11T17:19:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18928#p18928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18928#p18928"/>
		<title type="html"><![CDATA[Is this possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18928#p18928"><![CDATA[
With the bind command, it would be possible to create these aliases.<br><br>However, this would need to be placed in a seperate file, and loaded in using source (along the lines of a Tcl script), or placed directly in the config file.<br><br>A command on DCC, or IRC, would take more work however. Creating aliases to DCC based commands is simple, but IRC triggers is a little harder.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Apr 11, 2003 5:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TLM]]></name></author>
		<updated>2003-04-11T16:42:03-04:00</updated>

		<published>2003-04-11T16:42:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18927#p18927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18927#p18927"/>
		<title type="html"><![CDATA[Is this possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18927#p18927"><![CDATA[
<blockquote class="uncited"><div>1: Yes, you should look at the bind command. However, are you talking about a script that will create an alias, to a allready existing script/trigger?</div></blockquote>Yes thats exactly what im looking for. A script to create a alias to a all ready existing trigger, with option cmd extras.<br><br>As for the 2nd question, good, cause im more fimilar with PHP.<br><br>To help clear up the first question a bit more now that I re read the question I posed. Here is what I have, I dloaded the qstat script, so I could do !hl &lt;serverip:port&gt;, what I want to do is be able to bind a cmd on the fly from a irc channel so I could do one command (like !xyz) instead of doing !hl &lt;serverip:port&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2997">TLM</a> — Fri Apr 11, 2003 4:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-04-11T04:29:30-04:00</updated>

		<published>2003-04-11T04:29:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18898#p18898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18898#p18898"/>
		<title type="html"><![CDATA[Is this possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18898#p18898"><![CDATA[
1: Yes, you should look at the bind command. However, are you talking about a script that will create an alias, to a allready existing script/trigger?<br><br>2: Yes. The source command, works simalar to the php include(), C #include.<br><br>The script is loaded into the global namespace. Thus, because both script 1 and 2 are in global space (IE, the same space), they can access each other.<br><br>Very quick examples of this is, the compat.tcl and alltools.tcl in the scripts Dir, a lot of scripts still use these.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Apr 11, 2003 4:29 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-04-11T02:30:08-04:00</updated>

		<published>2003-04-11T02:30:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18893#p18893</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18893#p18893"/>
		<title type="html"><![CDATA[Is this possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18893#p18893"><![CDATA[
1. Yes. See the 'bind' command.<br><br>2. Yes. This is a normal part of Tcl.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Apr 11, 2003 2:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[TLM]]></name></author>
		<updated>2003-04-10T19:40:19-04:00</updated>

		<published>2003-04-10T19:40:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=18888#p18888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=18888#p18888"/>
		<title type="html"><![CDATA[Is this possible?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=18888#p18888"><![CDATA[
Two things, one dynamic binding from IRC cmds like<br>&amp;add &lt;alias&gt; &lt;public cmd that alias represents&gt;<br><br><br>and the other is, is it possible to call functions in other loaded scripts on the bot from some script.<br>e.g.<br>script1.tcl had funca<br>and script2.tcl calls that funca thus cutting down on copyed code.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2997">TLM</a> — Thu Apr 10, 2003 7:40 pm</p><hr />
]]></content>
	</entry>
	</feed>
