$send » History » Version 1
Per Amundsen, 03/22/2016 07:48 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 | .sent - Returns the number of bytes sent. |
||
21 | .pc - Returns the percent complete. |
||
22 | .secs - Returns number of seconds the transfer has been open. |
||
23 | .done - Returns [[$true]] if transfer was successful, otherwise [[$false]]. |
||
24 | .resume - Returns resume position if file was resumed. |
||
25 | .cps - Returns a estimate bytes per second. |
||
26 | .status - Returns "sent" and "failed" if a transfer has been sent successfully or failed. |
||
27 | .ip - Returns the local ip address. |
||
28 | .port - Returns the local port. (AdiIRC only) |
||
29 | |||
30 | *Example* |
||
31 | |||
32 | <pre> |
||
33 | ; Print number of GET transfers. |
||
34 | //echo -ag $get(0) |
||
35 | |||
36 | ; Print filename for the first GET transfer. |
||
37 | //echo -ag $get(1).file |
||
38 | </pre> |