Project

General

Profile

$prefixuser » History » Revision 7

Revision 6 (Per Amundsen, 08/24/2015 01:15 AM) → Revision 7/11 (Mr. BS, 01/31/2017 06:15 PM)

_Added in 1.9.7_ 

 *$prefixuser* 

 Returns the user message prefix format from [[Options_Dialog|Options]] -> [[Messages_Options|Messages]]. [[Options_Messages|Messages]]. 

 *Example* 

 <pre> 
 ; Replace $pnick in $prefixuser with Bob instead of $nick. 
 on *:TEXT:*:#:echo # $replace($prefixuser, $ $+ pnick, Bob) $1- 
 </pre> 

 ----------------------------------------------------------------------------- 

 *$prefixuser(channel, nick, [prefix])* 

 Replaces and formats user message prefix from [[Options_Dialog|Options]] -> [[Messages_Options|Messages]]. [[Options_Messages|Messages]]. 

 *Parameters* 

 channel - Channel where the nick is. 
 nick - The nick to lookup. 
 [prefix] - A custom channelnick prefix. (optional) 

 *Example* 

 <pre> 
 ; Format your own nick on current channel. 
 //echo -ag $prefixuser(#, $me) 
 </pre>