It'd be cool, if there were a command like
SCAR Code:
FindObj(x, y, man);
IfUpText('ttack Man');
then
clickmouse(x, y, true);
There in the 1st line x and y would be the chords where it spots a 3d model called 'man'. FindObj would move the mouse on to the found model, and then ifUpText checks if the npc, that is mouse hovered, is Man. If true, clickmouse clicks Man and your character would attack,
I don't know how this could be done, but i believe somehow like those scripts that detect coffins and stuff.
Some models:
-Male
-Female
-Guard
-Spider
-Chicken
-Giant Rat
-Giants
-Flesh Crawlers
-Cooking range
-Stove
-Furnace
-Rock
etc etc etc...