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

	<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>2012-03-06T17:36:27-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2012-03-06T10:47:29-04:00</updated>

		<published>2012-03-06T10:47:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98957#p98957</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98957#p98957"/>
		<title type="html"><![CDATA[[SOLVED] Relay]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98957#p98957"><![CDATA[
First post updated<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Mar 06, 2012 10:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2012-03-06T10:33:41-04:00</updated>

		<published>2012-03-06T10:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98956#p98956</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98956#p98956"/>
		<title type="html"><![CDATA[[SOLVED] Relay]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98956#p98956"><![CDATA[
No, <em class="text-italics">send:*</em> are procs that you should define. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> For example:<div class="codebox"><p>Code: </p><pre><code>proc send:something {nick host hand chan text} {  # do something}proc send:another {nick host hand chan text} {  # do something else}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 06, 2012 10:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2012-03-06T08:01:29-04:00</updated>

		<published>2012-03-06T08:01:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98955#p98955</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98955#p98955"/>
		<title type="html"><![CDATA[[SOLVED] Relay]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98955#p98955"><![CDATA[
So it also gives info on diffrent chans?<br><br>IE:<br><br>bind pubm - "#something !test*" send:something goes to #Chan1<br><br>and<br><br>bind pubm - "#another !test*" send:another  goes to Chan2<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Tue Mar 06, 2012 8:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2012-03-06T01:53:14-04:00</updated>

		<published>2012-03-06T01:53:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98953#p98953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98953#p98953"/>
		<title type="html"><![CDATA[[SOLVED] Relay]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98953#p98953"><![CDATA[
You set <em class="text-italics">send:text</em> to all 4 binds, so you need to fix that before anything else. As for your question, you can change % with the actual channel name. For example:<div class="codebox"><p>Code: </p><pre><code>bind pubm - "#something !test*" send:somethingbind pubm - "#another !test*" send:another</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Mar 06, 2012 1:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fire-Fox]]></name></author>
		<updated>2012-03-06T17:36:27-04:00</updated>

		<published>2012-03-05T17:20:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=98948#p98948</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=98948#p98948"/>
		<title type="html"><![CDATA[[SOLVED] Relay]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=98948#p98948"><![CDATA[
All solved here is howto<br><br>BOT1 - Where the data goes<br><div class="codebox"><p>Code: </p><pre><code>bind bot -|- relay get:relayproc get:relay {bot command text} {set trigger [join [lrange [split $text] 0 0]]set message [join [lrange [split $text] 1 end]]putlog "recieved $trigger from $bot"putnow "privmsg #CHAN :$trigger $message"}putlog "Reciever Relay.Tcl - Loaded By Fire-Fox"</code></pre></div><br>BOT2 - Where you get your data from<br><div class="codebox"><p>Code: </p><pre><code>bind pubm - "*!trigger1*" send:relaybind pubm - "*!trigger2*" send:relaybind pubm - "*!trigger3*" send:relaybind pubm - "*!trigger4*" send:relayproc send:relay {nick host hand chan text} {set trigger [join [lrange [split $text] 0 0]]set message [join [lrange [split $text] 1 end]]putlog "sent $text"putbot "BOTNET-NICK" "relay $trigger $message"}putlog "Relay Source.Tcl - Loaded By Fire-Fox"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8230">Fire-Fox</a> — Mon Mar 05, 2012 5:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
