From WikiChip
$group Identifier - mIRC
< mirc‎ | identifiers
Revision as of 13:47, 25 October 2023 by 95.24.34.148 (talk) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$group returns the name or status of a #group in a script.



Synopsis

$group(N/name)

Paramters

  • N - The Nth group
  • name - the name of a group, prefixed with a '#'

Properties

  • .status - return the status of the group, 'on' or 'off'
  • .name - return the name of the group
  • .fname - return the filename in which the goup exists

Example

//echo -a $group(0)
//echo -a $group(1).name
//echo -a $group(#name).status
//echo -a $group(#name).fname

Compatibility

Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

/groups