mIRC Home    About    Download    Register    News    Help

Print Thread
writing command for specific channel #268419 30/01/21 06:00 PM
Joined: Jan 2021
Posts: 1
E
EricBeRollin Offline OP
Mostly harmless
OP Offline
Mostly harmless
E
Joined: Jan 2021
Posts: 1
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.

Re: writing command for specific channel [Re: EricBeRollin] #268421 31/01/21 01:07 AM
Joined: Jan 2004
Posts: 1,585
maroon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 1,585
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