Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LAST_KNOWN_TARGET = ""
- GOT_TARGET = false
- ^ in setup
- if (target.id > 0 and target.isplayer) then
- LAST_KNOWN_TARGET = target.name
- GOT_TARGET = true
- end
- if (GOT_TARGET) then
- if (target.id == 0) then
- attack(LAST_KNOWN_TARGET)
- end
- end
Add Comment
Please, Sign In to add comment