This is a simple lag meter, that checks you lag, every 5 seconds.. that's configurable.. and you can see how much lag you have.. :) .. and also.. it works alone, you don't have to do nothing , just copy and paste this in remotes of mIRC, in a new sheet :) .... Enjoy!
on *:connect:{
.timerLag 0 5 lagmeter
}
alias lagmeter {
.ctcpreply $me meter $ticks
}
on *:ctcpreply:meter &: {
set %lag $calc(($ticks -$2) / 1000),-3) s
echo -s (Lag Meter) Your lag is : %lag
halt
}
;Medidor de Lag
;Instinct Script
;Jared
alias barlag { .ctcpreply $me mylag $ticks | halt }
on *:ctcpreply:mylag &: {
set %mylag $calc(($ticks -$2) / 1000),-3)
alias lag { me Lag actual: %mylag segundo(s) }
drawpic -c @tools 762 0 Visual\cover.bmp
drawtext -or @tools $rgb(235,235,235) Tahoma 9 786 11 Lag: %mylag segundos
drawpic -c @bar 824 0 Visual\cover2.bmp
drawtext -or @bar $rgb(235,235,235) Tahoma 8 852 13 $time
if (%mylag > 5) { echo -s 1 0,4 Lag !14,0 %mylag segundos | echo - }
halt
}
Instinct Script es Cigo Abierto. No se restringe su copia, distribuci o modificaci. El autor no se hace responsable por los resultados de tales acciones, y queda a criterio y buena fdel usuario no plagiar el contenido original de este material.
Oh i see.. mine when its using the ctcp option is like
ctcp :Lag.:?: { if ($nick == $me) && ($LagRead(Check.Methods,Ctcp) == On) { lag.reply $gettok($1,2,46) | .haltdef } }
then the alias was..
alias Lag.check {
if ($LagRead(Check.Methods,Ctcp) == On) {
.ctcp $me Lag. [ $+ [ $ticks ] ]
.halt
}
}
but there was loads of other stuff in between which i didnt put in because it would be too long >_<