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

	<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>2008-02-18T06:45:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Gordon]]></name></author>
		<updated>2008-02-17T13:11:14-04:00</updated>

		<published>2008-02-17T13:11:14-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80919#p80919</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80919#p80919"/>
		<title type="html"><![CDATA[New simple echo script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80919#p80919"><![CDATA[
works perfectly!<br><br>thanks a much<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8876">Gordon</a> — Sun Feb 17, 2008 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-02-17T12:34:21-04:00</updated>

		<published>2008-02-17T12:34:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80917#p80917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80917#p80917"/>
		<title type="html"><![CDATA[New simple echo script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80917#p80917"><![CDATA[
last script will automatically set binds based on $wordlist content, do not manually set binds<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Feb 17, 2008 12:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-02-17T12:32:57-04:00</updated>

		<published>2008-02-17T12:32:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80916#p80916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80916#p80916"/>
		<title type="html"><![CDATA[New simple echo script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80916#p80916"><![CDATA[
try this one:<div class="codebox"><p>Code: </p><pre><code>set chan1 "#channel1"set chan2 "#channel2"set wordlist "*word1* *word2*"     foreach word $wordlist {        bind pubm - "% $word" my:echo}proc my:echo {n u h c t} {        global chan1 chan2        set chan1 [string tolower $chan1]        set c [string tolower $c]        if {$c == $chan1} {                puthelp "PRIVMSG $chan2 :\&lt;$n@$c\&gt; $t"        }}</code></pre></div>if you have "bind pubm - * my:echo" it will relay everything, post the script as you have it if it does not work correctly<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Feb 17, 2008 12:32 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gordon]]></name></author>
		<updated>2008-02-17T12:22:39-04:00</updated>

		<published>2008-02-17T12:22:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80915#p80915</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80915#p80915"/>
		<title type="html"><![CDATA[New simple echo script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80915#p80915"><![CDATA[
thank you very much for your efforts<br><br>but there is a problem, it echoes all messages, no matter what binds i set <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> could you look to it once more ? <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8876">Gordon</a> — Sun Feb 17, 2008 12:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2008-02-17T11:57:19-04:00</updated>

		<published>2008-02-17T11:57:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80913#p80913</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80913#p80913"/>
		<title type="html"><![CDATA[New simple echo script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80913#p80913"><![CDATA[
here is an easy implementaion of what you want<br>this script is set to relay all public messages with "word1" or "word2" shown in #channel1 to #channel2<div class="codebox"><p>Code: </p><pre><code>set chan1 "#channel1" set chan2 "#channel2" bind pubm - *word1* my:echo  bind pubm - *word2* my:echo   proc my:echo {n u h c t} {          global chan1 chan2        set chan1 [string tolower $chan1]        set c [string tolower $c]        if {$c == $chan1} {                puthelp "PRIVMSG $chan2 :\&lt;$n@$c\&gt; $t"        }}</code></pre></div>you can add as many binds as you need to the same proc<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sun Feb 17, 2008 11:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gordon]]></name></author>
		<updated>2008-02-18T06:45:20-04:00</updated>

		<published>2008-02-17T09:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80909#p80909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80909#p80909"/>
		<title type="html"><![CDATA[New simple echo script [solved]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80909#p80909"><![CDATA[
Yes, i was looking in tcl archive, no echo script there can do what i want, yet i think it should not be any problem for script coders to implement this feature so im writting here again..<br><br>i pretty much described what i need in this thread <a href="http://forum.egghelp.org/viewtopic.php?t=14123" class="postlink">http://forum.egghelp.org/viewtopic.php?t=14123</a><br><br>Simply script that would echo (from channel to channel) only lines with specified words in them..<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_idea.gif" width="15" height="15" alt=":idea:" title="Idea"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8876">Gordon</a> — Sun Feb 17, 2008 9:56 am</p><hr />
]]></content>
	</entry>
	</feed>
