On Mirc, How Do I Set A Script To Only Run In Specific Channels?
Category: Mirc Server | Dec 15, 2009 |
I have a flood control script running on mIRC. I only need this on one server. On another server, this script kicks our game chat echo bot after 8 lines of echoes of in-game chatter. How do I set this script to function only in certain channels, or a specified server if possible?
Without knowing too many details, I will have to guess the script is using an on text::#channel: { :#ChannelA,#ChannelB:{
If thats the case, you can do:
On *:Text:
;code
}
Where “#channel” is the channel you want the script to trigger in. you can specify more than just one channel:
On *:Text:
;code
}
As far as for a specific network, you can add an if statement
If ($network == NetworkName) {
;code
}