From WikiChip
Difference between revisions of "mirc/identifiers/$msgtags"
(Created page with "{{mirc title|$msgtags Identifier}}'''$msgtags''' returns the @ prefixed tags (IRCv3 message tags) which are removed from incoming server messages. == Synopsis == <pre>$msgta...") |
(No difference)
|
Revision as of 20:04, 6 November 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$msgtags returns the @ prefixed tags (IRCv3 message tags) which are removed from incoming server messages.
Synopsis
$msgtags $msgtags(tag|N)
Parameters
- tag - returns the tag if it exists, $null otherwise
- N - returns the Nth tag, if N = 0, returns the total number of tags
Properties
If a parameter is provided, you can use the following properties:
- .tag - returns the name of the Nth tag
- .key - returns the associated value of the Nth tag or of the given tag
Example
//echo -a $msgtags(0)
Compatibility
Added: mIRC v7.42
Added on: 17 Jul 2015
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.