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.

Relay Private Messages / Notices

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
d
diMension
Voice
Posts: 11
Joined: Fri Mar 23, 2007 10:52 pm

Relay Private Messages / Notices

Post by diMension »

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
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Example code to relay private messages:

Code: Select all

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.
Post Reply