mIRC Home    About    Download    Register    News    Help

Print Thread
#12884 24/02/03 07:36 PM
Joined: Feb 2003
Posts: 83
L
LO_KEY Offline OP
Babel fish
OP Offline
Babel fish
L
Joined: Feb 2003
Posts: 83
Im makin my own f-serv, and need to figure out how to tell how much time is left between multiple sends so i can see which is gonna be done first to tell when the next send will send.


Thankx for any help givin. laugh


any help would make me happy
#12885 25/02/03 09:50 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
These aliases return the number of seconds left for send/get:
Code:

alias tlsend return $int($calc(($send($1).size - $send($1).sent) / $send($1).cps))
alias tlget return $int($calc(($get($1).size - $get($1).rcvd) / $get($1).cps))


Examples: //echo -a $tlsend(someone), //echo -a $tlsend(2), //echo -a $tlget(1)


Link Copied to Clipboard