dcc gets/sends

By ryu.dragonryder on Sep 03, 2005

Simple dcc get & dcc send script

alias ryder.dcc.get {
  var %a = 1 
  if (!$get(0)) { say 8D7CC 8G7ets: 15[14 No dcc gets in progress. 15]5 } 
  else { 
    while (%a <= $get(0)) { 
      say 15D10CC 15G10ets14: 9[3 $get(%a).file 9] 6From4 $get(%a) $+ 6. 15F10ile15S10ize14: 9[3 $round($calc($get(%a).size / 1048576),2) $+ MB 9] 6With7 $get(%a).pc $+ % 6Complete. 15S10peed14: 9[3 $round($calc($get(%a).cps / 1024),2) $+ kb/s 9] 15T10ime 15L10eft14: 9[3 $duration($calc(($get(%a).size - $get(%a).rcvd) / $get(%a).cps)) 9]5 
      inc %a 
    } 
  } 
}

alias ryder.dcc.send { 
  var %a = 1 
  if (!$send(0)) { say 8D7CC 8S7ends: 15[14 No dcc sends in progress. 15]5 } 
  else { 
    while (%a <= $send(0)) { 
      say 15D10CC 15S10ends14: 9[3 $send(%a).file 9] 6To4 $send(%a) $+ 6. 15F10ile15S10ize14: 9[3 $round($calc($send(%a).size / 1048576),2) $+ MB 9] 6With7 $send(%a).pc $+ % 6Complete. 15S10peed14: 9[3 $round($calc($send(%a).cps / 1024),2) $+ kb/s 9] 15T10ime 15L10eft14: 9[3 $duration($calc(($send(%a).size - $send(%a).sent) / $send(%a).cps)) 9]5 
      inc %a 
    } 
  } 
}
menu channel {
IRC
.DCC Gets: ryder.dcc.get
.DCC Sends: ryder.dcc.send
}

Comments

Sign in to comment.
ryu.dragonryder   -  May 19, 2007

this jsut shows what they are sending or getting.

as for being behind a router - get mIRC 6.17 or later adn set to passive on

 Respond  
sean   -  May 10, 2006

what if they are connected via router?

 Respond  
ryu.dragonryder   -  May 10, 2006

thank you Kazuma

 Respond  
`Kazuma   -  Jan 31, 2006

Im not big into DCC/gets/sends but good job.,

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.