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

	<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-09-13T05:59:16-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2012-09-13T05:59:16-04:00</updated>

		<published>2012-09-13T05:59:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=100015#p100015</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=100015#p100015"/>
		<title type="html"><![CDATA[Help with adjusting a relay script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=100015#p100015"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Channel flag.setudef flag monitorText# Subchannel.set subchannel #lineups# Bind all text in all channels.bind pubm - * monitorProcproc monitorProc {nick uhost hand chan text} {global subchannel    # Check channel flag.    if {![channel get $chan monitorText]} {        return 0    }    # Check text for matching values.    if { [string match "*chat with me*" $text] } {        # Send matching text to subchannel.        putserv "PRIVMSG #chatworld :$text"    }}</code></pre></div>Could anyone help me please, I would like to adjust this script so instead of relaying the message from $1- it will relay it from $2-<br><br>For instance:<br><br>&lt;Yamaha&gt; (Tony): won't you chat with me?<br><br>Will relay it as:<br><br>&lt;Bot&gt; won't you chat with me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Thu Sep 13, 2012 5:59 am</p><hr />
]]></content>
	</entry>
	</feed>
