Why won't this work?

On "svo got hit by" event (script is called LastAttackBy):

function LastAttackBy(event, class, name)

if event == "svo got hit by" then

LastAttack = name

end

end


I'm just trying to store the name of my attacker in a variable that I can quickly make the target in another alias.

"To thine own self be true."

Comments

  • Nevermind, it works fine. I think when I tried to use the alias the first time I was in a duel with someone who never actually attacked me using a class skill because of lag, so there was no LastAttack variable.

    "To thine own self be true."
Sign In or Register to comment.