NPC Code:
if (mousex in |npcs[i].x,npcs[i].x+imgwidth(#f(i))| && mousey in |npcs[i].y,npcs[i].y+imgheight(#f(i))|) {
message Don't point, it's rude!;
}else{message ;}
Bah, I know this isn't the whole script, but now you get the fun of finishing it! Whoop-diedoo...
[EDIT] *bangs head on wall* forgot img for w/h...