(Created $send identifier - mIRC) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{mirc title|$send identifier}}'''$send''' can be used to gather various details regarding open {{mIRC|DCC Send}} windows. | |
+ | |||
== Synopsis == | == Synopsis == | ||
Line 14: | Line 15: | ||
| cid | The connection id | | cid | The connection id | ||
| cps | The characters-per-second transfer rate | | cps | The characters-per-second transfer rate | ||
− | | done | Returns | + | | done | Returns {{mIRC|$true}} if the transfer has completed, otherwise returns {{mIRC|$false}} |
| file | The file name of the current transfer | | file | The file name of the current transfer | ||
| hwnd | The window handle | | hwnd | The window handle | ||
Line 25: | Line 26: | ||
| secs | The total number of seconds the transfer has been connected | | secs | The total number of seconds the transfer has been connected | ||
| size | The file size in bytes for the transfer | | size | The file size in bytes for the transfer | ||
− | | status | The status of the window; returns: '''active''', or ''' | + | | status | The status of the window; returns: '''active''', '''failed''', '''sent''' or '''waiting''' |
| wid | The mIRC window id for this window | | wid | The mIRC window id for this window | ||
}} | }} | ||
Line 37: | Line 38: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|4.52}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
− | * | + | * {{mIRC|$chat}} |
− | * | + | * {{mIRC|$fserve}} |
− | * | + | * {{mIRC|$get}} |
+ | {{mIRC identifier list}} | ||
− | [[Category:mIRC identifiers]] | + | [[Category:mIRC identifiers|send]] |
Latest revision as of 12:53, 24 February 2020
$send can be used to gather various details regarding open DCC Send windows.
Synopsis[edit]
$send(N/nick[,N])[.property]
Parameters[edit]
N/nick Refers to either the Nth open connection, or the connection associated with a specific user's nickname
[N] If a nickname is specified in the primary parameter, the secondary N targets the Nth connection associated with that nickname match
Properties[edit]
cid The connection id
cps The characters-per-second transfer rate
done Returns $true if the transfer has completed, otherwise returns $false
file The file name of the current transfer
hwnd The window handle
idle How long since the file transfer has been idle
ip The IP Address for the remote user
path The path of the file name being transferred
pc The percentage complete for the transfer
rcvd The total amount of bytes received so far
resume If the transfer has been resumed, returns the location in the file from where the resume took place
secs The total number of seconds the transfer has been connected
size The file size in bytes for the transfer
status The status of the window; returns: active, failed, sent or waiting
wid The mIRC window id for this window
Example[edit]
Echo the total percent completed of the 2nd transfer:
//echo -a $send(2).pc
Echo the total number of transfers:
//echo -a $send(0)
Compatibility[edit]
Added: mIRC v4.52
Added on: 06 Jul 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.