Advertisement
Kuciq

Bow Kill Distance Display

Mar 28th, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. ########### From EventTriggers.yml ##########
  2.  
  3. PlayerDeath:
  4. CoolDown: 0
  5. Script:
  6. - '@IF b <killedbyplayer> = true'
  7. - '@CMDOP vt run general:bowKill <killername>'
  8. - '@PAUSE 0.2'
  9. - '@IF b $bowKill.<killername> = true'
  10. - '@PLAYER &7Te ha pegado un tiro &8<killername> &7a&e <distance:<triggerloc>:$bowKillLoc.<killername>>
  11. &7bloques de distancia!'
  12. - '@TELL <killername> &7Le has pegado un tiro a &8<playername> &7a&e <distance:<triggerloc>:$bowKillLoc.<killername>>
  13. &7bloques de distancia!'
  14. - '@DELVAR s $bowKillLoc.<killername>'
  15. - '@DELVAR b $bowKill.<killername>'
  16. - '@ELSE'
  17. - '@DELVAR b $bowKill.<killername>'
  18.  
  19.  
  20. ########### general.script.yml ##############
  21.  
  22. bowKill:
  23. Script:
  24. - '@IF i <itemid> = 261'
  25. - '@SETSTR $bowKillLoc.<playername> <playerloc>'
  26. - '@SETBOOL $bowKill.<playername> true'
  27. - '@ELSE'
  28. - '@SETBOOL $bowKill.<playername> false'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement