$msgtags » History » Revision 3

Revision 2 (Per Amundsen, 08/01/2015 03:58 AM) → Revision 3/4 (Per Amundsen, 08/10/2015 08:54 AM)

_Added in 1.9.7_ 


 Returns a list of message tags for an incoming server message. 

 This only applies to [[IRCv3]] messages. 


 Returns the individual tags from the $msgtags identifier. 


 tag|N - The tag to retrieve or the Nth N'th tag, if N = 0, number of tags is returned. 


 .tag - Returns the tag name. 
 .key - Returns the tag value. 


 on *:TEXT:*:#:echo -ag Message time tag is $msgtags(time) 

 on *:TEXT:*:#:echo -ag The 5th tag is $msgtags(5)