From WikiChip
mirc/groups
< mirc
Revision as of 16:53, 16 August 2018 by Westor (talk | contribs)

Inside the script editor, you can use group to disable/enable a whole piece of code, an alias, an on text event, a menu, a dialog etc.

#group_name off
alias myalias {
  echo -a hey!
}
#group_name end

Effectively disables the myalias alias. The keyword that can appear after the #group_name on top are "on" to enable it or "off", to disable it. At the bottom the keyword is always "end".

You can use /enable #group and /disable #group to enable/disable a group, you can use $group to get the state of a group, its name, and the file in which the group can be found.