As I don't want to fiddle with the code itself - for a quick fix, you could try:
Quote:
on *^:text:*cari*:#:{
tokenize 32 $strip($1-)
if ($1 == %c $+ cari) {

[...]