KB/s is worked out using the following simple calculation;
$calc([color:red]sentbytes /
duration)[/color]
So the following example will tell you how fast DCC
1 is doing:
alias dcc.kbs {
echo - $bytes($calc($send([color:red]1).sent / $send(
1).secs)).suf
}
[/color]
Alternatively you can use the internal CPS and do:
alias dcc.kbs {
echo - $bytes($send([color:red]1).cps).suf
}
[/color]
Send a file to someone (or yourself) and type
/dcc.kbs, Obviously the
red 1's above represent the Nth DCC send.
Eamonn Burns.
Mekaneka.co.uk