Public paste
Undefined
By: lolie | Date: Dec 8 2006 20:30 | Format: None | Expires: never | Size: 682 B | Hits: 1292

  1. on *:PONG:{
  2.   msg %lag.chan 4‹5‹1 MRC 4‹5‹1 Lag ( $+ $server $+ ) : $calc($ticks - %lag.count) ms 4‹5‹1 MRC 4‹5‹
  3. }
  4.  
  5. on *:TEXT:-mrc*:#:{
  6.   if ($readini(data/users.ini,global,$address($nick,2)) == global) {
  7.     set %lag.count $ticks  
  8.     set %lag.chan $chan
  9.     if ($2 == lag) {
  10.       quote ping $server
  11.     }
  12.     if ($2 == join) {
  13.       join $3
  14.       msg %lag.chan 4‹5‹1 MRC 4‹5‹1 joining ( $+ $3 $+ ) duration: $calc($ticks - %lag.count) ms 4‹5‹1 MRC 4‹5‹
  15.     }
  16.     if ($2 == part) {
  17.       part $3
  18.       msg %lag.chan 4‹5‹1 MRC 4‹5‹1 parting ( $+ $3 $+ ) duration: $calc($ticks - %lag.count) ms 4‹5‹1 MRC 4‹5‹
  19.     }
  20.   }
  21. }
  22.  
  23.  
  24.