$send » History » Version 2
Per Amundsen, 03/24/2016 10:14 AM
1 | 1 | Per Amundsen | _Added in 2.3_ |
---|---|---|---|
2 | |||
3 | *$send(N/nick,[N])* |
||
4 | |||
5 | Returns the nickname and filename of the Nth dcc send connection. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | N/nick - Nick or the Nth connection. |
||
10 | [N] - The Nth nick match. |
||
11 | |||
12 | *Properties* |
||
13 | |||
14 | .lra - TODO |
||
15 | .wid - TODO |
||
16 | -hwnd - TODO |
||
17 | .cid - Returns the connection id. |
||
18 | .path - Returns the file path. |
||
19 | .file - Returns the file name. |
||
20 | 2 | Per Amundsen | .size - Returns the file size in bytes. |
21 | 1 | Per Amundsen | .sent - Returns the number of bytes sent. |
22 | .pc - Returns the percent complete. |
||
23 | .secs - Returns number of seconds the transfer has been open. |
||
24 | .done - Returns [[$true]] if transfer was successful, otherwise [[$false]]. |
||
25 | .resume - Returns resume position if file was resumed. |
||
26 | .cps - Returns a estimate bytes per second. |
||
27 | .status - Returns "sent" and "failed" if a transfer has been sent successfully or failed. |
||
28 | .ip - Returns the local ip address. |
||
29 | .port - Returns the local port. (AdiIRC only) |
||
30 | |||
31 | *Example* |
||
32 | |||
33 | <pre> |
||
34 | ; Print number of GET transfers. |
||
35 | //echo -ag $get(0) |
||
36 | |||
37 | ; Print filename for the first GET transfer. |
||
38 | //echo -ag $get(1).file |
||
39 | </pre> |