mIRC Home    About    Download    Register    News    Help

Print Thread
Script on only one channel #255281 04/10/15 11:45 PM
Joined: Oct 2015
Posts: 8
C
Ceidus Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Oct 2015
Posts: 8
Hello !

I start to try scripting, and I need help. I want that one of my script, a game, only run in ONE channel, and not in others, how can I do that ?

Thanks !

Re: Script on only one channel [Re: Ceidus] #255282 04/10/15 11:59 PM
Joined: Oct 2014
Posts: 17
D
drowsy Offline
Pikka bird
Offline
Pikka bird
D
Joined: Oct 2014
Posts: 17
specify a channel. This would only run in #casino..
Code:
on *:text:!slots:#casino:{

Re: Script on only one channel [Re: drowsy] #255283 05/10/15 12:16 AM
Joined: Oct 2015
Posts: 8
C
Ceidus Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Oct 2015
Posts: 8
Thank you !

Last edited by Ceidus; 05/10/15 12:19 AM.