mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2012
Posts: 59
Maelish Offline OP
Babel fish
OP Offline
Babel fish
Joined: Aug 2012
Posts: 59
I am in two channels with the same name, however I need to do some ON ACTIONs differently in each channel. Using the simple example of this...

Code:
on *:TEXT:Hello:#channel:/msg #channel Hello There


How would I specify a specific server or network in that action so that it would only respond on that network?


Find Gamers, my player finder for tabletop RPGers and Wargamers.
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Code:
on *:TEXT:Hello:#channel: {
 if ($network == NETWORK) { msg #channel Hello There }
}


Replace NETWORK with the network you are on, leav $network alone.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard