Project

General

Profile

$msgtags » History » Version 4

Per Amundsen, 03/06/2017 10:50 PM

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 4 Per Amundsen
_See also [[$msgstamp]]._
10
11
---
12
13 1 Per Amundsen
*$msgtags(tag|N)*
14
15
Returns the individual tags from the $msgtags identifier.
16
17
*Parameters*
18
19 3 Per Amundsen
tag|N - The tag to retrieve or the Nth tag, if N = 0, number of tags is returned.
20 1 Per Amundsen
21
*Properties*
22
23
.tag - Returns the tag name.
24
.key - Returns the tag value.
25
26
*Example*
27
28
<pre>
29
on *:TEXT:*:#:echo -ag Message time tag is $msgtags(time)
30
31
on *:TEXT:*:#:echo -ag The 5th tag is $msgtags(5)
32
</pre>