From WikiChip
Difference between revisions of "mirc/identifiers/$highlight"
m (Add missing ') |
|||
Line 18: | Line 18: | ||
* '''.flash''' - returns $true/$false depending on if the highlight will make mIRC flash the window | * '''.flash''' - returns $true/$false depending on if the highlight will make mIRC flash the window | ||
* '''.message''' - returns $true/$false depending on if the highlight is set for messages | * '''.message''' - returns $true/$false depending on if the highlight is set for messages | ||
− | * '''.nicks'' - returns $true/$false depending on if the highlight is set for nicks | + | * '''.nicks''' - returns $true/$false depending on if the highlight is set for nicks |
* '''.regex''' - returns $true/$false depending on if the text should be compared using a regular expression | * '''.regex''' - returns $true/$false depending on if the text should be compared using a regular expression | ||
* '''.cs''' - returns $true/$false depending on if the text should be compared using case sensitivity | * '''.cs''' - returns $true/$false depending on if the text should be compared using case sensitivity |
Revision as of 23:57, 16 July 2022
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The $highlight identifier, if used without parameters, returns a $true/$false value depending on if you have the highlight features enabled in mIRC, otherwise returns informations about the highlight entries.
Synopsis
$highlight - return $true/$false depending on if highlighting is turned on in the highlight mIRC dialog
$highlight(N/text) - return the Nth line in the highlight mIRC dialog's list, or return the value of the corresponding entry in mIRC's highlight dialog list, if any, for that string
Parameters
- N - if N is passed, return the Nth line in the highlight mIRC dialog's list
- text - if non-number parameter is passed, return the value of the corresponding entry in mIRC's highlight dialog list in option for that string.
Properties
- .text - returns the matching text of the entry
- .color - returns the color of the line being highligted
- .sound - returns the sound associated with the highlight if any ("beep" or a filename)
- .flash - returns $true/$false depending on if the highlight will make mIRC flash the window
- .message - returns $true/$false depending on if the highlight is set for messages
- .nicks - returns $true/$false depending on if the highlight is set for nicks
- .regex - returns $true/$false depending on if the text should be compared using a regular expression
- .cs - returns $true/$false depending on if the text should be compared using case sensitivity
- .chans - returns the list of channels and nicknames required to trigger an highlight for that entry, if any.
Example
None
Compatibility
Added: mIRC v5.11
Added on: 11 Sep 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
mIRC identifier list