on *:input:#:{ if (%lastmsg == $1-) { echo -at Repeat error! Type something different to $+(",%lastmsg,",.) | halt } if (/ == $left($1,1)) { $($1-,1) halt } else { msg $active $1- set %lastmsg $1- halt } }