On *:open:?: { $+(timerpm,$nick) 1 10 close -m $nick } On *:input:?: { if ($timer(timerpm $+ $active)) { timerpm $+ $nick off } }