simple ifthen statement
public text v1 · immutableon *:text:!timer*:#iwa2:{
if ($$2 == A1) {
if ($$3 == reset) { .msg $chan timer $$2 is reset (not really) }
else { .msg $chan timer $$2 will end in XXX seconds }
}
else { .msg $chan you forgot to tell me which timer }
}