Actions
$prefixuser » History » Revision 10
« Previous |
Revision 10/11
(diff)
| Next »
Per Amundsen, 03/06/2017 11:27 PM
Added in 1.9.7
$prefixuser
Returns the user message prefix format from Options -> Messages -> Prefix User.
Example
; Replace $pnick in $prefixuser with Bob instead of $nick. on *:TEXT:*:#:echo # $replace($prefixuser, $ $+ pnick, Bob) $1-
$prefixuser(channel, nick, [prefix])
Replaces and formats user message prefix from Options -> Messages -> Prefix User.
Parameters
channel - Channel where the nick is.
nick - The nick to lookup.
[prefix] - A custom channelnick prefix. (optional)
Example
; Format your own nick on current channel. //echo -ag $prefixuser(#, $me) ; Formar your own nick using your nick color. //echo -ag $prefixuser(#, $chr(3) $+ $nick(#,$me).color $+ $me $+ $chr(3)) ; Formar your own nick using your rgb nick color. //echo -ag $prefixuser(#, $chr(4) $+ $nick(#,$me).rgbcolor $+ $me $+ $chr(3))
Updated by Per Amundsen almost 8 years ago · 10 revisions