You can also use:

Code:
on *:text:*:*:{
tokenize 32 $strip($1-)

if ($1 = !ding) {  }
elseif ($1 = !dong) {  }

}