All pastes #389485 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-10 19:22 UTC
rendered paste body
on *:TEXT:!check:#: {
  /msg $chan Checking $hget(worlds,0).item member $+ $iif($hget(worlds,0).item > 1,s) for idle time
  var %p 1
  while (%p <= $hget(worlds,0).item) {
    if ($hget(worlds,$hget(worlds,%p).item) != %ownpclast) {
      hdel worlds $hget(worlds,%p).item
      msg $chan $hget(worlds,0).item
    }
    inc %p
  }
  /msg $chan There is now a total of $hget(worlds,0).item users defined
}