Heres my example though it doesnt work
Assassinate(mob/M as mob in oview(10))
var/target as text=random mob in world
if(M.name==usr.target)
usr<<"You kill [M]"
M<<"A bullet flies and hits you in the brain, killing you instantly"
M.Die()
usr.LVL()
else
usr<<"[M] is not your target, [usr.target] is!"