if ($me iswm $1-)
would be a good thing to put in your script, that way you won\'t get spammed when someone says sit.