mIRC Home    About    Download    Register    News    Help

Print Thread
Menu multi command help? #248820 27/10/14 09:40 PM
Joined: Apr 2014
Posts: 170
Bramzee Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Apr 2014
Posts: 170
Basically, I have my monitors script set up. And I have it set up right now so I can use a menu to turn monitors on and off. However, I'd like to simplify it by using just on menu option to turn them all on/off

Code:
menu channel {
  Monitors
  .Monitor List : /monitor list
  .Monitors on : {
    /monitor filelocation
    /monitor file2location
    /monitor file3location
  }
  .Monitors off : {
    /monitor off filelocation
    /monitor off file2location
    /monitor off file3location
  }
}

It triggers the first monitor but the rest are left alone.
Is this even possible? Or am I just not aware of something obvious?

Re: Menu multi command help? [Re: Bramzee] #248822 27/10/14 10:24 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
This code you have it enable/disable all the monitors, what else you need?

Re: Menu multi command help? [Re: Bramzee] #248824 27/10/14 10:35 PM
Joined: Jul 2006
Posts: 3,702
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,702
You need to repaste the /monitor alias since you modified it from the original, you might just want to turn off all timers matching.


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Menu multi command help? [Re: Bramzee] #248851 30/10/14 09:07 PM
Joined: Apr 2014
Posts: 170
Bramzee Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Apr 2014
Posts: 170
I've tried everything. But, it doesn't matter now I guess. One of my files (used to work but now it doesn't for some reason) has a "$" in it and won't read out anyway so I only need the 2. I'll figure everything out eventually :P