From WikiChip
Difference between revisions of "mirc/groups"
< mirc

Line 14: Line 14:
  
 
You can use {{mIRC|/enable}} #group and {{mIRC|/disable}} #group to enable/disable a group, you can use {{mIRC|$group}} to get the state of a group, its name, and the file in which the group can be found.
 
You can use {{mIRC|/enable}} #group and {{mIRC|/disable}} #group to enable/disable a group, you can use {{mIRC|$group}} to get the state of a group, its name, and the file in which the group can be found.
{{mirc guide}}
 

Revision as of 07:57, 17 August 2018


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.