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

(Created page with "{{mirc title|$style Identifier}}'''$style''' can be used inside menu definition to create a checked or disabled (or both) menu item. == Synopsis == <pre>$style(N)</pre> == P...")
 
(Properties)
Line 10: Line 10:
 
== Properties ==
 
== Properties ==
 
None
 
None
 +
 +
 +
'''Note''' The $style(N) identifier must be the first word in the menu definition.
  
 
== Example ==
 
== Example ==

Revision as of 15:46, 23 September 2017

$style can be used inside menu definition to create a checked or disabled (or both) menu item.

Synopsis

$style(N)

Paramters

  • N - use N = 1 for checked, N = 2 for disabled and N = 2 for both

Properties

None


Note The $style(N) identifier must be the first word in the menu definition.

Example

menu status  {
 
 $iif($server == $null,$style(2)) Server Info
 
 .Motd:/motd
 
 .Time:/time
 
}

Compatibility

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


See Also