Project

General

Profile

$address » History » Version 7

Per Amundsen, 02/16/2023 05:19 PM

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 7 Per Amundsen
table(ktable).
25
|*Parameter*|*Description*|
26
| nickname | Nickname to search. |
27
| type | Address mask to search, see [[$mask]] for available types. |
28 5 Per Amundsen
29
*Example*
30
31
<pre>
32
; Search for 'nick' using type '1'.
33
//echo -ag $address(nick,1)
34
</pre>