All pastes #934355 Raw Edit

simple ifthen statement

public text v1 · immutable
·published 2008-03-08 19:57 UTC
rendered paste body
/*on *:text:!timer*:#:{
  if ($2 == A1) {
    if ($3 == reset) { .msg $chan timer $2 is reset but not really }
    else { .msg $chan timer $2 will end in XXX seconds }
  }
  else { .msg $chan you forgot to tell me which timer }
}