Project

General

Profile

$trust » History » Version 4

Per Amundsen, 02/18/2017 08:54 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$trust(N)*
4
5 4 Per Amundsen
Returns the Nth item in the DCC trust list set in [[Options_Dialog|Options]] -> [[DCC Options|DCC]] -> [[DCC_Options#Auto-accept-transfers|Auto accept transfers]].
6 1 Per Amundsen
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>