| View previous topic :: View next topic |
| Author |
Message |
eggi Voice
Joined: 15 Sep 2005 Posts: 11
|
Posted: Sat Dec 01, 2007 5:47 am Post subject: nick to nick relay |
|
|
| i want a nick to nick relay tcl. Not all the things going on in main window. |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sat Dec 01, 2007 11:50 am Post subject: Re: nick to nick relay |
|
|
| 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? |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sat Dec 01, 2007 1:27 pm Post subject: |
|
|
I guess he meant relaying messages of each nick from 1 channel to another. Something like this:
| Code: | 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. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
eggi Voice
Joined: 15 Sep 2005 Posts: 11
|
Posted: Sat Dec 01, 2007 10:13 pm Post subject: |
|
|
| i want to relay 1 server to another. one nick to another nick. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Dec 02, 2007 8:34 am Post subject: |
|
|
Search in the Tcl archive. I recall there are script(s) which allow you to choose what to relay from server to server. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|