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

	<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>2013-04-26T11:47:54-04:00</updated>

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

		<entry>
		<author><name><![CDATA[gamer12]]></name></author>
		<updated>2013-04-26T11:47:54-04:00</updated>

		<published>2013-04-26T11:47:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101449#p101449</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101449#p101449"/>
		<title type="html"><![CDATA[thanks!]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101449#p101449"><![CDATA[
yes it worked fine! thanks both of you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12058">gamer12</a> — Fri Apr 26, 2013 11:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2013-04-25T14:15:32-04:00</updated>

		<published>2013-04-25T14:15:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101447#p101447</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101447#p101447"/>
		<title type="html"><![CDATA[Script to relay a Single User.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101447#p101447"><![CDATA[
He asked for a user@host match, not a nick one, not to mention that you could use <em class="text-italics">lsearch</em> instead of the <em class="text-italics">foreach</em> loop.<div class="codebox"><p>Code: </p><pre><code>set relayList [list "user@host.com" "*@blah.net" "Xyz@192.168.1.1"]bind PUBM - * relayPubmproc relayPubm {nick uhost hand chan text} {if {[lsearch -glob $::relayList "$uhost"]!=-1]} {puthelp "PRIVMSG #relay_channel :$text"}}</code></pre></div>Btw, it's healthy to <em class="text-italics">break</em> the loop in case of a match and use <em class="text-italics">puthelp</em> and leave <em class="text-italics">putquick</em> for other important stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 25, 2013 2:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2013-04-25T11:04:44-04:00</updated>

		<published>2013-04-25T11:04:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101446#p101446</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101446#p101446"/>
		<title type="html"><![CDATA[Script to relay a Single User.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101446#p101446"><![CDATA[
Test this and tell me if this is what you wanted<br><div class="codebox"><p>Code: </p><pre><code>bind PUBM - * pub_randomset temp(to) "#to"set temp(allow) {"nick1""nick2"}proc pub_random {nick mask hand channel arg} {global tempforeach n $temp(allow) { if {[string tolower $nick] == [string tolower $n]} {putquick "PRIVMSG $temp(to) :$arg"}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Thu Apr 25, 2013 11:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gamer12]]></name></author>
		<updated>2013-04-25T02:15:22-04:00</updated>

		<published>2013-04-25T02:15:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=101445#p101445</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=101445#p101445"/>
		<title type="html"><![CDATA[Script to relay a Single User.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=101445#p101445"><![CDATA[
I am searching for a script which can relay a single user only. The ones I have found are the ones which relays the whole channel.<br><br>For eg,<br><br>I have added Xyz@192.168.1.1 to the list and the bot only relays what 'XYZ' says on a channel to a different channel.<br><br>&lt;XYZ&gt; The <em class="text-italics">CUZ</em> is going to have <strong class="text-strong">lunch</strong>.<br><br>I want this line to be relayed without the nick and with the bold/colors etc like,<br><br>The <em class="text-italics">CUZ</em> is going to have <strong class="text-strong">lunch</strong>.<br><br>Any help in this case will be highly appreciated.<br><br>Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12058">gamer12</a> — Thu Apr 25, 2013 2:15 am</p><hr />
]]></content>
	</entry>
	</feed>
