Project

General

Profile

Actions

$prefixemote » History » Revision 3

« Previous | Revision 3/7 (diff) | Next »
Per Amundsen, 08/24/2015 01:16 AM


Added in 1.9.7

$prefixemote

Returns the emote message prefix format from Options -> Messages.

Example

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

$prefixemote(channel, nick, [prefix])

Replaces and formats emote message prefix 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 $prefixemote(#, $me)

Updated by Per Amundsen over 9 years ago · 3 revisions

Also available in: PDF HTML TXT