mIRC Homepage

ON Events by network

Posted By: Maelish

ON Events by network - 23/09/16 02:11 PM

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?
Posted By: FroggieDaFrog

Re: ON Events by network - 23/09/16 04:32 PM

Code:
on *:TEXT:*:#channel_name:{
  if ($network == someNetwork) {
    stuff!
  }
}
Posted By: Maelish

Re: ON Events by network - 23/10/16 02:55 AM

Ah ok, I thought it would be in the top line.
© 2021 mIRC Discussion Forums