Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Other » Relay?
Re: Relay? [message #188584 is a reply to message #188498] Mon, 06 February 2006 05:53 Go to previous messageGo to previous message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma:
Colonel
on *:TEXT:#adminchan: {
if ($nick == botnick) {
if (!help isin $1-) {
halt
}
msg #mainchan $1-
}
}

on *:TEXT:#mainchan: {
if ($1 == !pi) {
msg #adminchan !pi
}
}


Above is a very basic code for relaying messages to channel. Have a look through it and see if you can understand it. To make it work but it in an mIRC remote.

#mainchan = Your main channel
#adminchannel = You admin channel
botnick = Name of your brenbot/nr/cs bot


Let all your wishes be granted except one, so you will still have something to strieve for.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NR & ssaow
Next Topic: Signature Pictures.
Goto Forum:
  


Current Time: Sat Feb 08 08:51:32 MST 2025

Total time taken to generate the page: 0.00899 seconds