mIRC Homepage
Posted By: EricBeRollin writing command for specific channel - 30/01/21 06:00 PM
Sorry if this has been answered before but I'm very new here and couldnt find the answer by searching.

If I have my mIRC account in several channels at once but only want a script command to respond in 1 specific channel, how can that be done?

Thank you for your patience and insight.
Posted By: maroon Re: writing command for specific channel - 31/01/21 01:07 AM
on <level>:TEXT:<matchtext>:<*><?><#[,#]>:<commands>
the location can be :?: which matches only in a query window
or :#: to match all channels
or :#channelname: to match 1 channel
or :#chan1,#chan2,#etc: to match 1 or more channels
or :*: to match both queries and channels

Unfortunately the ON TEXT even won't trigger from your own channel messages, so you'd either need a helpful friend, or wait for someone to speak, or else you can install the client in a 2nd folder so you can be 2 nicks speaking to each other. Some channels have had harsh actions against clones, so either ask or do the testing in some kind of #mynickname test channel
© mIRC Discussion Forums