Is there another way to do that which is similar to modes so i don't have to require the actual sub menu meaning changing this

Control Menu
.Auto Op ( %auto.op )
..On: { .aop on | set %auto.op On | echo -a 14Auto Op is now9 On }
..Off: { .aop off | set %auto.op Off | echo -a 14Auto Op is now9 Off }

to this

Control Menu
.$iif(%auto.op == on,$style(1)) :{ do stuff }
.$iif(%auto.voice == on,$style(1)) :{ do stuff }

I managed to look up $aop in the /help file so i'm assuming i can copy near the same prefix as the one in modes??

I quite liked how the tick boxes stayed on whatever it was selected in mirc or even the channel i was in.