Project

General

Profile

$ialmark » History » Version 3

Per Amundsen, 02/23/2023 01:56 PM

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 3 Per Amundsen
table(ktable).
12
|*Parameter*|*Description*|
13
| nick/mask | The nick or mask to return a mark for. |
14
| N/name | If N = 0 number of marks, otherwise the Nth mark or the specified mark. |
15 1 Per Amundsen
16
*Properties*
17
18 3 Per Amundsen
table(ktable).
19
|*Property*|*Description*|
20
| .name | Returns the mark name. |
21
| .mark | Returns the mark text. |
22 2 Per Amundsen
23 1 Per Amundsen
*Example*
24
25
<pre>
26
; Sets a mark for the nick 'nick' with the name 'markname' and the text 'mark text'.
27
/ialmark -n nick markname mark text
28
29
; Retrieve the mark text for the name 'markname'.
30
//echo -ag $ialmark(nick, markname)
31
</pre>