Actions
$prefixuser » History » Revision 5
« Previous |
Revision 5/11
(diff)
| Next »
Per Amundsen, 08/24/2015 01:14 AM
Added in 1.9.7
$prefixuser
Returns the user message prefix format from Options -> Messages.
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 variables from Options -> Messages.
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)
Updated by Per Amundsen about 9 years ago · 5 revisions