Actions
$msgtags » History » Revision 4
« Previous |
Revision 4/5
(diff)
| Next »
Per Amundsen, 03/06/2017 10:50 PM
Added in 1.9.7
$msgtags
Returns a list of message tags for an incoming server message.
This only applies to IRCv3 messages.
See also $msgstamp.
$msgtags(tag|N)
Returns the individual tags from the $msgtags identifier.
Parameters
tag|N - The tag to retrieve or the Nth tag, if N = 0, number of tags is returned.
Properties
.tag - Returns the tag name.
.key - Returns the tag value.
Example
on *:TEXT:*:#:echo -ag Message time tag is $msgtags(time) on *:TEXT:*:#:echo -ag The 5th tag is $msgtags(5)
Updated by Per Amundsen over 7 years ago · 4 revisions