Project

General

Profile

$prefixemote » History » Revision 4

Revision 3 (Per Amundsen, 08/24/2015 01:16 AM) → Revision 4/7 (Per Amundsen, 02/24/2017 09:21 PM)

_Added in 1.9.7_ 

 *$prefixemote* 

 Returns the emote message prefix format from [[Options_Dialog|Options]] -> [[Messages_Options|Messages]] -> [[Messages_Options#Message-prefix-Ctcp|Prefix Emote]]. [[Options_Messages|Messages]]. 

 *Example* 

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

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

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

 Replaces and formats emote message prefix from [[Options_Dialog|Options]] -> [[Messages_Options|Messages]] -> [[Messages_Options#Message-prefix-Ctcp|Prefix Emote]]. [[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 $prefixemote(#, $me) 
 </pre>