on *:text:*:#:{
tokenize 32 $strip($1-)
if (!whatever * iswm $1-) {
;^ above is an example to match the text event, if u do this in the ON TEXT then this if can be removed, assume your now in the correct on text event
;
if ($($+(%,$address),2) isnum) {
.notice $nick Please wait $v1 seconds before using this command again.
set -u $+ $v1 $+(%,$address) warned
}
elseif (!$($+(%,$address),2)) {
set -z $+(%,$address) 90
;execute rest of code for the on text event
;
}
}
}