ID:143361
 
Code:
y when i press the A it pop up A mob select my name and the guy who im trying to attack
mob
verb
A(mob/M)
if(M==usr)
return
if(M.protec==1)
return
if(M.level==usr.level)
usr.random = rand (1,5)
if(usr.random==1)
damage = 25
M<<"you were hit by [usr]for [damage] damage"
usr<<"you hitted [M] for [damage] damage"
M.health -= damage
if(usr.random==2)
damage = 30
M<<"you were hit by [usr]for [damage] damage"
usr<<"you hitted [M] for [damage] damage"
M.health -= damage

macro//define these as Macros:
A return "A"//define it to run the 'A' verb when you press 'A'


Problem description:

how i can fix it?

You're gonna have to revise that sentence, use correct spelling and grammar, and tell us exactly what it is/isn't doing. I cannot decipher what you just said.