ID:149399
 
ok i have my attack code
verb/attack(mob/victim as mob in oview(1))
set category = "Commands"
if(!ismonster)
usr << "Dont attack harmless npcs!"
else
Attack(victim)

i set ismonster to one on all the human players and monsters. And i set ismonster to 0 on all the npcs, but i can still attack npc for some reason?
Try checking victim.ismonster
In response to Nadrew
i get ya now