mIRC Home    About    Download    Register    News    Help

Print Thread
#26739 28/05/03 11:36 PM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
Does anyone have a tutorials or anything that Will let me script so i can make a remote or whatelse that says like..

DCC Highest Send Record by nickname (18.1k/s)
(this is just a example)

Ive tried to script one and it doesnt do what I wanted and I deleted it.. so Im looking for a tutorial for one.
Thx

#26740 28/05/03 11:44 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
You may need moo.dll to calculate the in/out speed (not sure if mirc can do it) I never have done a fserv or dcc o a lot. The moo.dll for speeds can be found at www.influenced.net


-KingTomato
#26741 29/05/03 03:59 PM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
Um I thught moo.dll only send System informations....

and Yes theres a way cuz Mp3 has it.. and so does few others.

confused

#26742 29/05/03 11:53 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
mp3 has bitrate, not send speed. From what i gathered, your looking for a top speed that your DCC connection reaced, correct?


-KingTomato
#26743 30/05/03 08:50 PM
Joined: Mar 2003
Posts: 29
B
b3th3rS Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Mar 2003
Posts: 29
Yes, you are correct

#26744 30/05/03 09:37 PM
Joined: Dec 2002
Posts: 699
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 699
You don't need a dll, you might need to tweak this a little, but this is the basic idea.
Code:
on *:filesent:*:{
  if $send($nick).cps > $gettok(%record.CPS.sent,1,32) || !%record.CPS.sent {
    set %record.CPS.sent $send($nick).cps $nick
  }
}
on *:filercvd:*:{
  if $get($nick).cps > $gettok(%record.CPS.rcvd,1,32) || !%record.CPS.rcvd {
    set %record.CPS.rcvd $get($nick).cps $nick
  }
}
alias recordcps {
  if %record.cps. [ $+ [ $1 ] ] {
    tokenize 32 $ifmatch
    return $2 ( $+ $bytes($1).suf $+ /s)
  }
  return n/a (n/a)
}
to display it, use $recordcps(sent) or $recordcps(rcvd)

//echo -a DCC Highest Send Record by $recordcps(sent)
//echo -a DCC Highest Recieved Record by $recordcps(rcvd)


Link Copied to Clipboard