From WikiChip
Difference between revisions of "mirc/identifiers/$group"
< mirc‎ | identifiers

(Created page with "{{mirc title|$group Identifier}}'''$group''' returns == Synopsis == <pre>$group(N/name)</pre> == Paramters == * '''N''' - The Nth group * '''name''' - the name of a group,...")
 
Line 1: Line 1:
{{mirc title|$group Identifier}}'''$group''' returns
+
{{mirc title|$group Identifier}}'''$group''' returns the name or status of a #group in a script.
 +
 
 +
 
  
  
Line 11: Line 13:
  
 
== Properties ==
 
== Properties ==
* '''status''' - return the status of the group, 'on' or 'off'
+
* '''.status''' - return the status of the group, 'on' or 'off'
* '''name''' - return the name of the group
+
* '''.name''' - return the name of the group
* '''fname''' - return the filename in which the goup exists
+
* '''.fname''' - return the filename in which the goup exists
  
 
== Example ==
 
== Example ==

Revision as of 17:17, 23 September 2017

$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)

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