mIRC Homepage

on action same channel but different servers

Posted By: Maelish

on action same channel but different servers - 15/08/13 02:23 PM

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

Re: on action same channel but different servers - 15/08/13 03:38 PM

Code:
on *:TEXT:Hello:#channel: {
 if ($network == NETWORK) { msg #channel Hello There }
}


Replace NETWORK with the network you are on, leav $network alone.
© 2021 mIRC Discussion Forums