
Here is the finished LAGBAR. The whole thing obviously is NOT finished. There is alog of work to do on it to make it work/look good. Here is the code aswell. Also, how can I check my idle on the network? What I mean is, the same idle you see when you whois yourslef. Not your channel idle. I'm dead tired so I cant even think.
alias statusbar {
if ($1 == off) { dll hOS.dll RemStatusBar }
else {
dll hOS.dll AddStatusBar sizegrip noxptheme
dll hOS.dll SBSetPanels 80 200 430 530 -1
dll hOS.dll AddProgressBar 2 smooth
.timerlag 0 10 lagstatus
.timeridle 0 1 idlestatus
}
if ($status == connected) {
dll hOS.dll SBSetData 3 $chr(9) Server: $chr(160) $scid($activecid).network ยป $scid($activecid).server
}
else {
dll hOS.dll SBSetData 3 $chr(9) Server: $chr(160) Not Connected
}
}
alias idlestatus {
if ($duration($nick($active,$me).idle) == $null) {
dll hOS.dll SBSetData 4 $chr(9) Idle: $ch(160) N/A
}
else {
dll hOS.dll SBSetData 4 $chr(9) Idle: $ch(160) $duration($nick($active,$me).idle)
}
}
alias lagstatus {
if ($hget(txlag,curlag) == s) || ($hget(txlag,curlag) == ??) || ($hget(txlag,curlag) == $null) {
dll hOS.dll SBSetData 1 +n $chr(9) Lag: $chr(160) N/A
}
else {
dll hOS.dll SBSetData 1 +n $chr(9) Lag: $chr(160) $hget(txlag,curlag) $+ s
%lag = $calc(10 * $hget(txlag,curlag))
while (%lag <= 100) {
dll hOS.dll PBSetPos 2 $round(%lag,0) 0 100
halt
}
}
}
I'm sure it's very messy and full of errors. Again, im so freakin tired it's not even funny. And I have to help soemoen move tommrow.

Oh well. Please let me know of errors you find. Thanks!
P.S. For those of your seeing a pic of my word counter dialog, REFRESH! :tongue: I used the same file name.