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

	<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>2007-03-18T07:10:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2007-03-18T07:10:00-04:00</updated>

		<published>2007-03-18T07:10:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=71344#p71344</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=71344#p71344"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=71344#p71344"><![CDATA[
<blockquote class="uncited"><div>that links redirects me to <a href="http://www.egghelp.org/tcl.htm" class="postlink">http://www.egghelp.org/tcl.htm</a> and I've downloaded all the ones that are found in the database, non e work the way I need them to.</div></blockquote>ya search with "channel link"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sun Mar 18, 2007 7:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xaero]]></name></author>
		<updated>2006-06-11T10:01:23-04:00</updated>

		<published>2006-06-11T10:01:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63896#p63896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63896#p63896"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63896#p63896"><![CDATA[
that links redirects me to <a href="http://www.egghelp.org/tcl.htm" class="postlink">http://www.egghelp.org/tcl.htm</a> and I've downloaded all the ones that are found in the database, non e work the way I need them to.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7857">xaero</a> — Sun Jun 11, 2006 10:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-06-11T13:03:12-04:00</updated>

		<published>2006-06-11T01:16:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63890#p63890</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63890#p63890"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63890#p63890"><![CDATA[
<a href="http://www.egghelp.org/tclhtml/3478-4-4-0-1.htm" class="postlink"><strong class="text-strong">Relay &amp; Chan Link</strong></a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Sun Jun 11, 2006 1:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xaero]]></name></author>
		<updated>2006-06-10T22:52:21-04:00</updated>

		<published>2006-06-10T22:52:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=63889#p63889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=63889#p63889"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=63889#p63889"><![CDATA[
I like most others have been searching and searching for a relay script for multiple bots and multiple networks/channels.<br><br>At the moment I have 4 bots, 3 are in 3 channels on 3 networks, 1 bot is the central hub bot, he sits on a private network just so he has a place to be.<br><br>The scripts I have come across all seem to duplex everything to every channel and I don't want nor need that .... #chan1 &lt;-&gt; #chan1 on all networks is the idea.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7857">xaero</a> — Sat Jun 10, 2006 10:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-19T23:20:06-04:00</updated>

		<published>2006-04-19T23:20:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62130#p62130</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62130#p62130"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62130#p62130"><![CDATA[
mayb you  ill get that by addin this in ur tcl<br><div class="codebox"><p>Code: </p><pre><code>proc send_topc {nick uhost hand chan text} {  send_across "topc" $chan $text}bind topc - * send_topcproc recv_topc {frm_bot command arg} {  putserv "TOPICS [lindex $arg 0] :\[[lindex $arg 1]\] [lrange $arg 2 end]"}bind bot - topc recv_topc</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Wed Apr 19, 2006 11:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mr_hanky]]></name></author>
		<updated>2006-04-19T18:01:35-04:00</updated>

		<published>2006-04-19T18:01:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62117#p62117</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62117#p62117"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62117#p62117"><![CDATA[
the <a href="http://www.egghelp.org/files/tcl/desc/290.desc" class="postlink">script</a> is here:<br><br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=290" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=290</a><br><br>i dont think i would be allowed to paste it here, seems to be quite long..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7664">mr_hanky</a> — Wed Apr 19, 2006 6:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-19T17:07:36-04:00</updated>

		<published>2006-04-19T17:07:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62114#p62114</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62114#p62114"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62114#p62114"><![CDATA[
which relay script ur useing ??<br><br>please paste that script<br><br><blockquote class="uncited"><div>I was using relay.tcl, to send messages and actions from one channel to another, but it didnt give any information about topic changes...<br><br>ive added what you posted as a script, and made changes.. but it didnt seem to work.. i may be at fault and not changed the correct things.. but my question is, is it okay to run your script (posted above) and relay.tcl at the same time?</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Wed Apr 19, 2006 5:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mr_hanky]]></name></author>
		<updated>2006-04-19T16:56:43-04:00</updated>

		<published>2006-04-19T16:56:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62113#p62113</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62113#p62113"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62113#p62113"><![CDATA[
I was using relay.tcl, to send messages and actions from one channel to another, but it didnt give any information about topic changes...<br><br>ive added what you posted as a script, and made changes.. but it didnt seem to work.. i may be at fault and not changed the correct things.. but my question is, is it okay to run your script (posted above) and relay.tcl at the same time?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7664">mr_hanky</a> — Wed Apr 19, 2006 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-19T16:35:35-04:00</updated>

		<published>2006-04-19T16:35:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62111#p62111</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62111#p62111"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62111#p62111"><![CDATA[
if u use clink.tcl then u have to follow the second post<br>or if do dont use anyother then u can use last post<br><br><blockquote class="uncited"><div>should i use that script on its own? or add it to an existing script? (for example, clink.tcl in the 2nd post..)</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Wed Apr 19, 2006 4:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mr_hanky]]></name></author>
		<updated>2006-04-19T16:24:05-04:00</updated>

		<published>2006-04-19T16:24:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62110#p62110</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62110#p62110"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62110#p62110"><![CDATA[
should i use that script on its own? or add it to an existing script? (for example, clink.tcl in the 2nd post..)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7664">mr_hanky</a> — Wed Apr 19, 2006 4:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-19T14:50:15-04:00</updated>

		<published>2006-04-19T14:50:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62106#p62106</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62106#p62106"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62106#p62106"><![CDATA[
mayb this will help you<br><div class="codebox"><p>Code: </p><pre><code>set link_botnicks {"BOT1" "BOT2"}set link_onchan(#room@Quakenet) "BOT1"set link_onchan(#room@EFNet) "BOT1""set link_relayto(#room@Quakenet) {"#room@EFNet"}set link_usecolor 1set link_relaynet 0set link_charmsgs {"[" "]"}bind topc - * link_topcbind bot - link link_botdatif {$link_usecolor == 1} {set link_color(topc) ""} else {        set link_color(tops) ""}if {${botnet-nick} == ""} {set {botnet-nick} $nickputlog "Warning: botnet-nick not defined in .conf file, using \"$nick\"."}if {[lsearch $link_botnicks ${botnet-nick}] == -1} {putlog "Fatal: Bot \"${botnet-nick}\" not defined in link_botnicks. Please edit link.tcl and check your configuration."}if {$network == "unknown-net"} {putlog "Warning: network not defined in .conf file, using \"unknown-net\"."}proc link_botsend {chan param} {global link_onchan {botnet-nick} network link_relaytoforeach link_relaychan $link_relayto($chan@$network) {if {[lsearch -exact [bots] $link_onchan($link_relaychan)] == -1} {putlog "link.tcl: Warning: bot $link_onchan($link_relaychan) not linked."} else {putbot $link_onchan($link_relaychan) "link $chan $network $param"}}}proc link_topc {nick uhost hand chan text} {    global link_onchan network    if {[info exist link_onchan($chan@$network)]} {       link_botsend $chan [concat "topc" [link_cleannick $nick] $text]    } } proc link_botdat {bot link param} {    global link_relaynet link_color link_charmsgs link_relayto link_add network    if {$link_relaynet == 1} {       set link_network "\[[lindex $param 1]\] "    } else {       set link_network ""    }    if {[lrange $param 5 end] != ""} {       set reason "\([lrange $param 5 end]\)"    } else {       set reason ""    }    set link_destchan [lindex [split [lindex $link_relayto([lindex $param 0]@[lindex $param 1]) [lsearch -glob $link_relayto([lindex $param 0]@[lindex $param 1]) "*@$network"]] @] 0]    switch [lindex $param 2] {       topc   { putserv "TOPICS $link_destchan :$link_network$link_color(topc)[lindex $link_charmsgs 0][lindex $link_add][lindex $link_charmsgs 1] [lrange $param 4 end]" }       default { putlog "Relay: Warning: unknown action type \"[lindex $param 2]\" for [lindex $param 0]." }    } } proc link_cleannick {nick} {if {[string range $nick 0 0] == "\{"} {set nick "\\$nick"}        return $nick}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Wed Apr 19, 2006 2:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mr_hanky]]></name></author>
		<updated>2006-04-19T10:56:24-04:00</updated>

		<published>2006-04-19T10:56:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62097#p62097</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62097#p62097"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62097#p62097"><![CDATA[
im looking for a script that does the exact same thing, except watches for changes on one network (quakenet), and the message is passed onto another bot on another server (Efnet)..<br><br>would this code work for that?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7664">mr_hanky</a> — Wed Apr 19, 2006 10:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-04-19T16:46:24-04:00</updated>

		<published>2006-03-21T10:59:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61235#p61235</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61235#p61235"/>
		<title type="html"><![CDATA[Re: Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61235#p61235"><![CDATA[
use a relay script<br>any relay script<br>like clink relay &amp; add those line<div class="codebox"><p>Code: </p><pre><code>bind topc - * clink_topcproc clink_topc {nick uhost hand chan text} {global clink_onchan networkif {[info exist clink_onchan($chan@$network)]} {clink_botsend $chan [concat "topc" [clink_cleannick $nick] $text]}}</code></pre></div>&amp; replace the following part in <strong class="text-strong">proc clink_botdat</strong> part<br><div class="codebox"><p>Code: </p><pre><code>proc clink_botdat {bot clink param} {global clink_relaynet clink_color clink_charmsgs clink_relayto clink_add networkif {$clink_relaynet == 1} {set clink_network "\[[lindex $param 1]\] "} else {set clink_network ""}if {[lrange $param 5 end] != ""} {set reason "\([lrange $param 5 end]\)"} else {set reason ""}set clink_destchan [lindex [split [lindex $clink_relayto([lindex $param 0]@[lindex $param 1]) [lsearch -glob $clink_relayto([lindex $param 0]@[lindex $param 1]) "*@$network"]] @] 0]switch [lindex $param 2] {pubm{ putserv "PRIVMSG $clink_destchan :$clink_network$clink_color(pubm)[lindex $clink_charmsgs 0][lindex $param 3][lindex $clink_charmsgs 1] [lrange $param 4 end]" }topc{ putserv "PRIVMSG $clink_destchan :$clink_network$clink_color(topc)[lindex $clink_charmsgs 0][lindex $clink_add][lindex $clink_charmsgs 1] [lrange $param 4 end]" }default { putlog "Relay: Warning: unknown action type "[lindex $param 2]" for [lindex $param 0]." }}}</code></pre></div>Moderator (Alchera) note: Please use code tags when posting code in future.<br><br><blockquote class="uncited"><div>I've searched everywhere and I can find a lot of scripts CLOSE to what I want, but I have failed in all of my attempts to modify them for my use. What I need is a script that will run on one bot and monitor several channels for topic changes and message my other eggdrop when one occurs. On the eggdrop that receives the message, I would like it to post this topic in a channel (not set the topic, just send a message with it to the channel). At least for now, the bots will not need to work on seperate networks, so just messaging from one bot to another should work fine (as opposed to using a botnet or anything).</div></blockquote>[/code]<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Tue Mar 21, 2006 10:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dunn]]></name></author>
		<updated>2006-03-18T15:15:06-04:00</updated>

		<published>2006-03-18T15:15:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61162#p61162</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61162#p61162"/>
		<title type="html"><![CDATA[Topic Relay Script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61162#p61162"><![CDATA[
I've searched everywhere and I can find a lot of scripts CLOSE to what I want, but I have failed in all of my attempts to modify them for my use. What I need is a script that will run on one bot and monitor several channels for topic changes and message my other eggdrop when one occurs. On the eggdrop that receives the message, I would like it to post this topic in a channel (not set the topic, just send a message with it to the channel). At least for now, the bots will not need to work on seperate networks, so just messaging from one bot to another should work fine (as opposed to using a botnet or anything).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7297">Dunn</a> — Sat Mar 18, 2006 3:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
