$trust » History » Version 1
Per Amundsen, 08/11/2015 11:01 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$trust(N)* |
||
| 4 | |||
| 5 | Returns the Nth item in the DCC trust list. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | N - If N = 0, the number of items in the trust list, otherwise the Nth item. |
||
| 10 | |||
| 11 | *Example* |
||
| 12 | |||
| 13 | <pre> |
||
| 14 | ; Print the number of items in the DCC trust list. |
||
| 15 | //echo -ag $trust(0) |
||
| 16 | |||
| 17 | ; Print the first item in the DCC trust list. |
||
| 18 | //echo -ag $trust(1) |
||
| 19 | </pre> |