menu status {
$iif($gison(#TestGroup),Turn group off) :.disable #TestGroup
$iif(!$gison(#TestGroup),Turn group on) :.enable #TestGroup
$iif($gison(#TestGroup),$style(1) TEST,$style(2) TEST)
.Yep - the group is on://echo 4 -a *tada* ^^
}
alias gison { if ($group($1) == on) { return $true } | return $false }
menu status {
Turn Group $iif($group(#TestGroup) == on,off,on) : $iif($ifmatchj,.disable,.enable) #TestGroup
$iif($group(#TestGroup) == on,$style(1) TEST,$style(2) TEST)
.Yep - the group is on://echo 4 -a *tada* ^^
}