| View previous topic :: View next topic |
| Author |
Message |
diMension Voice
Joined: 23 Mar 2007 Posts: 11
|
Posted: Thu Apr 12, 2007 6:41 pm Post subject: Relay Private Messages / Notices |
|
|
I could really use a script that will relay notices and private messages to a channel. So i don't always have to have DCC open and so other people in the channel can see it... etc. So if somone could do this that would be great
Thanks |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Apr 13, 2007 5:38 am Post subject: |
|
|
Example code to relay private messages:
| Code: | bind msgm - * relay:msg
proc relay:msg {nick uhost hand arg} {
puthelp "privmsg #channel :<$nick> $arg"
} |
Now read Tcl-commands.doc about the notc bind to be able to relay notices as well. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|