Project

General

Profile

$trust » History » Revision 4

Revision 3 (Per Amundsen, 02/18/2017 08:53 AM) → Revision 4/5 (Per Amundsen, 02/18/2017 08:54 AM)

_Added in 1.9.0_ 

 *$trust(N)* 

 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]]. Options|DCC]]. 

 *Parameters* 

 N - If N = 0, the number of items in the trust list, otherwise the Nth item. 

 *Example* 

 <pre> 
 ; Print the number of items in the DCC trust list. 
 //echo -ag $trust(0) 

 ; Print the first item in the DCC trust list. 
 //echo -ag $trust(1) 
 </pre>