$ialmark » History » Version 2
Per Amundsen, 05/16/2017 06:46 AM
1 | 1 | Per Amundsen | _Added in 2.8_ |
---|---|---|---|
2 | |||
3 | *$ialmark(nick/mask, [N/name])* |
||
4 | |||
5 | Returns the Nth mark for the nick or mask. |
||
6 | |||
7 | _See also [[/ialmark]]._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | nick/mask - The nick or mask to return a mark for. |
||
12 | N/name - If N = 0 number of marks, otherwise the Nth mark or the specified mark. |
||
13 | |||
14 | 2 | Per Amundsen | *Properties* |
15 | |||
16 | .name - Returns the mark name. |
||
17 | .mark - Returns the mark text. |
||
18 | |||
19 | 1 | Per Amundsen | *Example* |
20 | |||
21 | <pre> |
||
22 | ; Sets a mark for the nick 'nick' with the name 'markname' and the text 'mark text'. |
||
23 | /ialmark -n nick markname mark text |
||
24 | |||
25 | ; Retrieve the mark text for the name 'markname'. |
||
26 | //echo -ag $ialmark(nick, markname) |
||
27 | </pre> |