Project

General

Profile

$msgtags » History » Revision 2

Revision 1 (Per Amundsen, 08/01/2015 03:58 AM) → Revision 2/5 (Per Amundsen, 08/01/2015 03:58 AM)

_Added in 1.9.7_ 

 *$msgtags* 

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

 This only applies to [[IRCv3]] messages. 

 *$msgtags(tag|N)* 

 Returns the individual tags from the $msgtags identifier. 

 *Parameters* 

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

 *Properties* 

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

 *Example* 

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

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