Stick this in its own remote.
To use it have someone type !lag
It will announce the servers lag with a /msg to the channel !lag was used in.
EDIT:
Okay I found out my buddy my buddy got this from here and told me he made it =\
QuickStep is the original creator of the lagtester, I just modified it.
Heres the original
http://www.hawkee.com/phpBB2/viewtopic.php?t=6213&highlight=lagtest
;Original Lag Script Created By QuickStep
;http://www.hawkee.com/phpBB2/viewtopic.php?t=6213&highlight=lagtest
;Modified By DarkLordPazuzu
alias lagtest {
set %ticks $ticks | .raw PING 123
}
on ^*:PONG:{
if ((%ticks) && (*123 iswm $1-)) {
haltdef
msg %lagchan Lag: $+($calc(($ticks - %ticks) / 1000),s)
unset %ticks
}
}
on *:text:*:#:{
if ($1 == !lag) { set %lagchan $chan | lagtest }
}
hehe looks familiar. Check this thread
http://www.hawkee.com/phpBB2/viewtopic.php?t=6213&highlight=lagtest