ID:175447
 
mob/verb/Attack(mob/M in oview(1)) //-Attack verb
set category = "Attack"
if(istype(M,/mob/XPMach1))
usr.XP += rand(2,5)
flick("XPMach1Hit",src)
sleep(70)

I want mob/XPMach1 to flick XPMach1Hit, but when I try this it makes ME flick
That's because you're flicking src, when it should be M instead.
In response to OneFishDown
Thank you very much!