rendered paste bodybwstatus {
say $+ $c(2) $+ Current Bandwidth Status $ilogo
say $c(1) $+ Total Bandwidth at $c(2) $+ $ratefix($calc($gbandwidth + $bandwidth)) $c(1) $+ with $c(2) $+ $send(0) $c(1) $+ outgoing Send $+ $iif($send(0) != 1,s) totaling $c(2) $+ $ratefix($bandwidth) $c(1) $+ and $c(2) $+ $get(0) $c(1) $+ incoming Get $+ $iif($get(0) != 1,s) totaling $c(2) $+ $ratefix($gbandwidth)
var %ct = 1
while (%ct <= $send(0)) {
say $c(1) $+ Send $c(2) $+ $chr(35) $+ %ct $c(1) $+ of $c(2) $+ $nopath($send(%ct).file)) $c(1) $+ to $c(2) $+ $send(%ct) $c(1) $+ on $c(2) $+ $scid($send(%ct).cid).network $c(1) $+ at $c(2) $+ $ratefix($send(%ct).cps) $c(1) $+ is $c(2) $+ $send(%ct).pc $+ $chr(37) $c(1) $+ done with approximately $c(2) $+ $duration($round($calc(($send(%ct).size - $send(%ct).sent) / $send(%ct).cps),0),2) $c(1) $+ left.
inc %ct 1
}
; say $c(1) $+ I have $c(2) $+ $get(0) $c(1) $+ incoming get $+ $iif($get(0) != 1,s) totaling $c(2) $+ $ratefix($gbandwidth)
var %ct = 1
while (%ct <= $get(0)) {
say $c(1) $+ Get $c(2) $+ $chr(35) $+ %ct $c(1) $+ of $c(2) $+ $nopath($get(%ct).file)) $c(1) $+ from $c(2) $+ $get(%ct) $c(1) $+ on $c(2) $+ $scid($get(%ct).cid).network $c(1) $+ at $c(2) $+ $ratefix($get(%ct).cps) $c(1) $+ is $c(2) $+ $get(%ct).pc $+ $chr(37) $c(1) $+ done with approximately $c(2) $+ $duration($round($calc(($get(%ct).size - $get(%ct).rcvd) / $get(%ct).cps),0),2) $c(1) $+ left.
inc %ct 1
}
}
If (!sorteio == $1) {
say Sorteio em 3
say Sorteio em 2
say Sorteio em 1
//k $nick($chan,$rand(1,$nick($chan,0))) Parabéns você foi o Grande Sorteado!!!
}