Project

General

Profile

$msgtags » History » Version 3

Per Amundsen, 08/10/2015 08:54 AM

1 1 Per Amundsen
_Added in 1.9.7_
2
3
*$msgtags*
4
5
Returns a list of message tags for an incoming server message.
6
7
This only applies to [[IRCv3]] messages.
8
9
*$msgtags(tag|N)*
10
11
Returns the individual tags from the $msgtags identifier.
12
13
*Parameters*
14
15 3 Per Amundsen
tag|N - The tag to retrieve or the Nth tag, if N = 0, number of tags is returned.
16 1 Per Amundsen
17
*Properties*
18
19
.tag - Returns the tag name.
20
.key - Returns the tag value.
21
22
*Example*
23
24
<pre>
25
on *:TEXT:*:#:echo -ag Message time tag is $msgtags(time)
26
27
on *:TEXT:*:#:echo -ag The 5th tag is $msgtags(5)
28
</pre>