Project

General

Profile

Actions

Added in 1.9.7

$prefixemote

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

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 -> Prefix Emote.

Parameters

Parameter Description
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)

; Formar your own nick using your nick color.
//echo -ag $prefixemote(#, $chr(3) $+ $nick(#,$me).color $+ $me $+ $chr(3))

; Formar your own nick using your rgb nick color.
//echo -ag $prefixemote(#, $chr(4) $+ $nick(#,$me).rgbcolor $+ $me $+ $chr(3))

Updated by Per Amundsen almost 2 years ago · 7 revisions

Also available in: PDF HTML TXT