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

	<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>2006-05-04T17:16:10-04:00</updated>

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

		<entry>
		<author><name><![CDATA[GeeX]]></name></author>
		<updated>2006-05-04T17:16:10-04:00</updated>

		<published>2006-05-04T17:16:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62613#p62613</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62613#p62613"/>
		<title type="html"><![CDATA[Relay Bot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62613#p62613"><![CDATA[
For you:<br><div class="codebox"><p>Code: </p><pre><code>#**************************************##*Chan Relay by YooDa*##**************************************## chansetssetudef flag relay;setudef str relay-victim;#**************** relay control ******************#bind pub n|n !relay relay:command;proc relay:command {nick host hand chan arg} {set option [string tolower [lindex $arg 0]];switch -- $option {on {channel set $chan +relayputserv "NOTICE $nick :Done."}off {channel set $chan -relayputserv "NOTICE $nick :Done."}list {set list [channel get $chan relay-victim]putserv "NOTICE $nick :Relay victim list:"foreach {a b c d e f g} $list {putserv "NOTICE $nick :$a $b $c $d $e $f $g"}putserv "NOTICE $nick :End of list."}add {set add [string tolower [lindex $arg 1]];if {[lsearch [string tolower [channel get $chan relay-victim]] $add] &lt; 0} {set list "[channel get $chan relay-victim] $add";channel set $chan relay-victim $listputserv "NOTICE $nick :Done.";} else {putserv "NOTICE $nick :Victim is already in list.";}}del {set del [string tolower [lindex $arg 1]];if {[lsearch [string tolower [channel get $chan relay-victim]] $del] &gt;= 0} {set list [channel get $chan relay-victim];set newlist "";foreach victim $list {if {$victim != $del} {set newlist "$newlist $victim";}}channel set $chan relay-victim $newlistputserv "NOTICE $nick :Done.";} else {putserv "NOTICE $nick :Victim is not in list.";}}default {putserv "NOTICE $nick :Syntax: $::lastbind ON/OFF/LIST/ADD/DEL"}}}#************* relay messages *****************# # join messagebind JOIN - * relay:join;proc relay:join {nick host hand chan} {if {[channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $chan relay-victim]if {$relay != ""} {foreach r $relay {puthelp "PRIVMSG $r :\[$chan\]     —› join: \002(\002$nick\002)\002 \002(\002$host\002)\002"}}}}# part messagebind PART - * relay:part;proc relay:part {nick host hand chan message} {if {[channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $chan relay-victim]if {$message == ""} {set message "no such message";}if {$relay != ""} {foreach r $relay {puthelp "PRIVMSG $r :\[$chan\]     —› part: \002(\002$nick\002)\002 \002(\002$host\002)\002 \002(\002$message\002)\002"}}}}# public messagebind PUBM - * relay:pubm;proc relay:pubm {nick host hand chan arg} {if {[channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set access "";if {[isop $nick $chan]} {set access "@";} elseif {[isvoice $nick $chan]} {set access "+";}set relay [channel get $chan relay-victim]if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$chan\] \002(\002$access$nick\002)\002 $arg"}}}}# quit messagebind SIGN - * relay:sign;proc relay:sign {nick host hand chan reason} {if {[channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $chan relay-victim]if {$reason== ""} {set reason "Signed Off";}if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$chan\]     —› quit: \002(\002$nick\002)\002 \002(\002$host\002)\002 \002(\002$reason\002)\002"}}}}# topic messagebind TOPC - * relay:topic;proc relay:topic {nick host hand chan topic} {if {[onchan $nick $chan]} {if {[channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $chan relay-victim]if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$chan\]     —› topic:  \002(\002$nick\002)\002 changes topic to \002(\002$topic\002)\002"}}}}}# kick messagebind KICK - * relay:kick;proc relay:kick {nick host hand chan victim reason} {if {[channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $chan relay-victim]if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$chan\]     —› kick: \002(\002$victim\002)\002 was kicked by \002(\002$nick\002)\002 \002(\002$reason\002)\002"}}}}# channel modesbind RAW - MODE relay:mode;proc relay:mode {from key text} {set text [split $text];set nick [lindex [split $from !] 0]set host [lindex [split $from !] 1]set chan [lindex $text 0]set mode [join [lrange $text 1 end]]if {[validchan $chan] &amp;&amp; [channel get $chan relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $chan relay-victim]if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$chan\]     —› mode: \002(\002$nick\002)\002 sets \002(\002$mode\002)\002"}}}}# nick messagebind NICK - * relay:nick;proc relay:nick {nick host hand chan newnick} {if {[validchan $chan] &amp;&amp; [channel get $chan relay] &amp;&amp; ![isbotnick $nick] &amp;&amp; ![isbotnick $newnick]} {set relay [channel get $chan relay-victim]if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$chan\]     —› nick: \002(\002$nick\002)\002 is now known as \002(\002$newnick\002)\002"}}}}# ctcp ACTIONbind CTCP - ACTION relay:actionproc relay:action {nick host hand dest key text} {if {[validchan $dest] &amp;&amp; [channel get $dest relay] &amp;&amp; ![isbotnick $nick]} {set relay [channel get $dest relay-victim]set access "";if {[isop $nick $dest]} {set access "@";} elseif {[isvoice $nick $dest]} {set access "+";}if {$relay != ""} {foreach r $relay {puthelp"PRIVMSG $r :\[$dest\] • \002$access\002$nick $text"}}}}putlog "Chanrelay script by YooDa loaded."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6744">GeeX</a> — Thu May 04, 2006 5:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CuteBangla]]></name></author>
		<updated>2006-05-04T01:20:41-04:00</updated>

		<published>2006-05-04T01:20:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62604#p62604</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62604#p62604"/>
		<title type="html"><![CDATA[Relay Bot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62604#p62604"><![CDATA[
<blockquote class="uncited"><div>i tried searching  but all those were for between 2 networks .. incase there is any script for more than 2 networks please  kindly help me find it <br><br>ty</div></blockquote><br>u can try clink.tcl<br><a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=586" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=586</a><br>i am useing that<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7425">CuteBangla</a> — Thu May 04, 2006 1:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sober4in]]></name></author>
		<updated>2006-05-01T23:50:04-04:00</updated>

		<published>2006-05-01T23:50:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62566#p62566</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62566#p62566"/>
		<title type="html"><![CDATA[Relay Bot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62566#p62566"><![CDATA[
i tried searching  but all those were for between 2 networks .. incase there is any script for more than 2 networks please  kindly help me find it <br><br>ty<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7718">sober4in</a> — Mon May 01, 2006 11:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-01T19:04:34-04:00</updated>

		<published>2006-05-01T19:04:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62555#p62555</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62555#p62555"/>
		<title type="html"><![CDATA[Relay Bot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62555#p62555"><![CDATA[
Search the <a href="http://egghelp.org/tcl.htm" class="postlink">Tcl Archive</a> for relay.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon May 01, 2006 7:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sober4in]]></name></author>
		<updated>2006-05-01T16:23:10-04:00</updated>

		<published>2006-05-01T16:23:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62551#p62551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62551#p62551"/>
		<title type="html"><![CDATA[Relay Bot script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62551#p62551"><![CDATA[
i need  the script which can  communicate in more than 2 networks  <br><br><br>#xyz channel of  server1  is connected to server 2 #xyz  and  server3  #xyz   <br>n vice versa<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7718">sober4in</a> — Mon May 01, 2006 4:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
