Project

General

Profile

$address » History » Version 6

Per Amundsen, 08/13/2015 11:07 AM

1 1 Per Amundsen
_Added in 1.9.0_
2 3 Per Amundsen
3
*$address*
4 2 Per Amundsen
5 4 Per Amundsen
Returns the address of the user associated with an [[Scripting_Events|event]] in the form user@host.
6
7
*Example*
8
9
<pre>
10
; Prrint the user address from a incoming message.
11
on *:TEXT:*:*:echo -ag The user address for this event is $address
12
</pre>
13 5 Per Amundsen
14
-----------------------------------------------------------------------------
15
16
_Added in 1.9.0_
17
18
*$address(nickname,type)*
19
20
Searches the Internal Address List for the address associated with the specified nickname.
21
22
*Parameters*
23
24
nickname - Nickname to search.
25 6 Per Amundsen
type - Address mask to search, see [[$mask]] for available types.
26 5 Per Amundsen
27
*Example*
28
29
<pre>
30
; Search for 'nick' using type '1'.
31
//echo -ag $address(nick,1)
32
</pre>