This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
eggi
Voice
Posts: 11 Joined: Thu Sep 15, 2005 4:45 pm
Post
by eggi » Sat Dec 01, 2007 5:47 am
i want a nick to nick relay tcl. Not all the things going on in main window.
DragnLord
Owner
Posts: 711 Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA
Post
by DragnLord » Sat Dec 01, 2007 11:50 am
eggi wrote: i want a nick to nick relay tcl. Not all the things going on in main window.
"nick to nick relay" is generally called a "query" or "private message"
Are you looking for something that sends a bot user (such as the owner for example) a copy of all private messages received by the bot?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Dec 01, 2007 1:27 pm
I guess he meant relaying messages of each nick from 1 channel to another. Something like this:
Code: Select all
set relayChannels {#chan1 #chan2 #chan3}
bind pubm - * relay:msgs
proc relay:msgs {nick uhost hand chan arg} {
global relayChannels
if {[lsearch -exact $relayChannels $chan] != -1} {
foreach c $relayChannels {
if {$c == $chan} {continue}
puthelp "privmsg $c :\[<$nick> ($chan)\] $arg"
}
}
}
This relays messages between relayChannels.
eggi
Voice
Posts: 11 Joined: Thu Sep 15, 2005 4:45 pm
Post
by eggi » Sat Dec 01, 2007 10:13 pm
i want to relay 1 server to another. one nick to another nick.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Dec 02, 2007 8:34 am
Search in the
Tcl archive . I recall there are script(s) which allow you to choose what to relay from server to server.