Project

General

Profile

$prefixemote » History » Version 7

Per Amundsen, 02/23/2023 07:15 PM

1 1 Per Amundsen
_Added in 1.9.7_
2
3
*$prefixemote*
4
5 5 Per Amundsen
Returns the emote message prefix format from [[Options_Dialog|Options]] -> [[Messages_Options|Messages]] -> [[Messages_Options#Message-prefix-Emote|Prefix Emote]].
6 2 Per Amundsen
7 3 Per Amundsen
*Example*
8
9
<pre>
10
; Replace $pnick in $prefixemote with Bob instead of $nick.
11
on *:ACTION:*:#:echo # $replace($prefixemote, $ $+ pnick, Bob) $1
12
</pre>
13
14 2 Per Amundsen
-----------------------------------------------------------------------------
15
16
*$prefixemote(channel, nick, [prefix])*
17
18 5 Per Amundsen
Replaces and formats emote message prefix from [[Options_Dialog|Options]] -> [[Messages_Options|Messages]] -> [[Messages_Options#Message-prefix-Emote|Prefix Emote]].
19 2 Per Amundsen
20
*Parameters*
21
22 7 Per Amundsen
table(ktable).
23
|*Parameter*|*Description*|
24
| channel | Channel where the nick is. |
25
| nick | The nick to lookup. |
26
| [prefix] | A custom channelnick prefix. (optional) |
27 2 Per Amundsen
28
*Example*
29
30
<pre>
31
; Format your own nick on current channel.
32
//echo -ag $prefixemote(#, $me)
33 6 Per Amundsen
34
; Formar your own nick using your nick color.
35
//echo -ag $prefixemote(#, $chr(3) $+ $nick(#,$me).color $+ $me $+ $chr(3))
36
37
; Formar your own nick using your rgb nick color.
38
//echo -ag $prefixemote(#, $chr(4) $+ $nick(#,$me).rgbcolor $+ $me $+ $chr(3))
39 2 Per Amundsen
</pre>