on *:text:*:#: {
; text is one of your commands
if ($istok(!command1 !command2 !commandN,$1-,32)) {
var %unset = 60, %limit = 3
hadd $+(-mu,%unset) commands $+($cid,$chr(1),$chan,$chr(1),$nick,$chr(1),$rand(1,9999)) x
if ($hfind( commands, $+($cid,$chr(1),$chan,$chr(1),$nick,$chr(1),*) ,0,w) < %limit) {
; your responses
if ($1 == !command1) { msg # response 1 }
elseif ($1 == !command2) { msg # response 2 }
elseif ($1 == !commandN) { msg # response N }
}
}
}