From WikiChip
Difference between revisions of "mirc/groups"
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. | ||
− |
Revision as of 07:57, 17 August 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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.