From WikiChip
mirc/groups
< mirc
Revision as of 13:35, 14 August 2018 by Ouims (talk | contribs) (Created page with "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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.