mIRC Home    About    Download    Register    News    Help

Print Thread
#258998 23/09/16 02:11 PM
Joined: Aug 2012
Posts: 59
M
Maelish Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Aug 2012
Posts: 59
If we use ON Text and similar ON Events per channel:

Code:
on *:TEXT:*:#channel:{
}


How would I specify a network instead of a channel, or include a network with channel?

Last edited by Maelish; 23/09/16 02:14 PM.
Joined: Apr 2010
Posts: 964
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 964
Code:
on *:TEXT:*:#channel_name:{
  if ($network == someNetwork) {
    stuff!
  }
}

Joined: Aug 2012
Posts: 59
M
Maelish Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Aug 2012
Posts: 59
Ah ok, I thought it would be in the top line.


Link Copied to Clipboard