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

	<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>2005-10-19T07:28:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-10-19T07:28:46-04:00</updated>

		<published>2005-10-19T07:28:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56708#p56708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56708#p56708"/>
		<title type="html"><![CDATA[A relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56708#p56708"><![CDATA[
are you considering that the first word actually will be $k and $a will be the 2nd to the last word, so maybe your keyword is the first word in $a?<br><br>relationg your flags question:<div class="codebox"><p>Code: </p><pre><code>  (A) BIND TYPES...    (18) BOT...          flags are ignored.</code></pre></div>if the bots are linked, and command matchs, it will trigger.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Oct 19, 2005 7:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BlackTux]]></name></author>
		<updated>2005-10-18T22:44:49-04:00</updated>

		<published>2005-10-18T22:44:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56702#p56702</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56702#p56702"/>
		<title type="html"><![CDATA[Still not working]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56702#p56702"><![CDATA[
I am wondering if it has to do wtih the flags on the two bots. <br>Bot1 (bot sending info) has Bot2 added with flags +h<br><br>Bot2 (bot recieving info) has Bot1 added with flags +h <br><br>Do I have to use the console command?<br>Do I have the right flags set?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6617">BlackTux</a> — Tue Oct 18, 2005 10:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-10-10T05:26:31-04:00</updated>

		<published>2005-10-10T05:26:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56503#p56503</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56503#p56503"/>
		<title type="html"><![CDATA[A relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56503#p56503"><![CDATA[
Try whatever you write and see.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Oct 10, 2005 5:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BlackTux]]></name></author>
		<updated>2005-10-09T20:16:29-04:00</updated>

		<published>2005-10-09T20:16:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56491#p56491</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56491#p56491"/>
		<title type="html"><![CDATA[ok]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56491#p56491"><![CDATA[
So if I wanted different strings to go to different channels I would make it like: <div class="codebox"><p>Code: </p><pre><code>bind bot R rmsg bot:relayproc bot:relay {b k a} {set word [lindex [split $a] 1]     if {[string equal -nocase music $word]}{    puthelp "PRIVMSG #main_music :$a"  }    if {[string equal -nocase movies $word]}{    puthelp "PRIVMSG #main_movies :$a"  }}</code></pre></div>Is that correct? Sorry for being Green when it comes to TCL I am used to mIRC scripts.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6617">BlackTux</a> — Sun Oct 09, 2005 8:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-10-09T14:48:38-04:00</updated>

		<published>2005-10-09T14:48:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56481#p56481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56481#p56481"/>
		<title type="html"><![CDATA[A relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56481#p56481"><![CDATA[
You can use:<div class="codebox"><p>Code: </p><pre><code>set word [lindex [split $a] 1]</code></pre></div>to get the 2nd word from the text. and<div class="codebox"><p>Code: </p><pre><code>if {[string equal -nocase music $word]} {</code></pre></div>to match it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Oct 09, 2005 2:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BlackTux]]></name></author>
		<updated>2005-10-09T14:19:04-04:00</updated>

		<published>2005-10-09T14:19:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56480#p56480</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56480#p56480"/>
		<title type="html"><![CDATA[A relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56480#p56480"><![CDATA[
I am looking for a relay script that looks at the second string and sends to the right channel.<br>If it was in mIRC lingo it would be like:<div class="codebox"><p>Code: </p><pre><code>on *:TEXT:*:#:{              if ( music isin $2 ) /msg #music $2- | halt              if ( software isin $2 ) /msg #software $2- | halt }</code></pre></div>What I have so far is <div class="codebox"><p>Code: </p><pre><code>proc bot:relay {b k a} {puthelp "PRIVMSG #main :$a"}</code></pre></div> <br>$a is what gets sent from another bot on my botnet.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6617">BlackTux</a> — Sun Oct 09, 2005 2:19 pm</p><hr />
]]></content>
	</entry>
	</feed>
