Project

General

Profile

$prefixemote » History » Version 3

Per Amundsen, 08/24/2015 01:16 AM

1 1 Per Amundsen
_Added in 1.9.7_
2
3
*$prefixemote*
4
5
Returns the emote message prefix format from [[Options_Dialog|Options]] -> [[Options_Messages|Messages]].
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
Replaces and formats emote message prefix from [[Options_Dialog|Options]] -> [[Options_Messages|Messages]].
19
20
*Parameters*
21
22
channel - Channel where the nick is.
23
nick - The nick to lookup.
24
[prefix] - A custom channelnick prefix. (optional)
25
26
*Example*
27
28
<pre>
29
; Format your own nick on current channel.
30
//echo -ag $prefixemote(#, $me)
31
</pre>