ID:269602
 
well i was wondering (obviously) how to make it so u can only attack npcs and pcs by only standing next to them, by clicking.. :S i tried so many things, heres what i started with...
mob
monster
Click()//click on a monster to...
usr.attack(src)//..attack

thats just the good part that u need to know... if u can please help me.
i have no idea wat happened but thanks!!!!!! very very much!
mob
monster
Click(mob/monster as mob).
if(monster in oview(1,src))
usr.attack(src)