Added in 2.4

/groups [-ed]

Displays a list of either all, enabled, or disabled groups in your scripts.

Switches

Switch Description
-e List all enabled groups.
-d List all disabled groups.

Example

; List all enabled and disabled groups.
/groups

; List only enabled groups.
/groups -e