Try
if (playertouchsme) {
message Stop it!;
}

I don't think if (playergrabsme) don't work, I tried out myself but nothing works.
If you want this style Screenshot (18).jpg
just type "if (playertouchsme) {
say2 Stop it!;
}

Hope it helps
and please someone move it to NPC Scipting