#group on ON *:TEXT:*:*: echo -s boo! #group off alias check_group { echo -a Group '#group' is: $iif($group(#group).status == on, On, Off) }