All pastes #608458 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-08 09:44 UTC
rendered paste body
alias starttimer {
  echo Timer started.
  timer.regcheck 0 120 regcheck
}
alias regcheck {
  if ($me isreg #thepc) { halt }
  if ($nick($chan,0,r) >= 1) { echo Kicking all regulars. | msg #thepc .mk }
  if ($nick($chan,0,r) == 0) { echo No regulars present in the channel. }
}
alias stoptimer {
  echo Timer stopped.
  timer.regcheck off
}