Guest User

Untitled

a guest
Feb 13th, 2014
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. variables:
  2. {deathitems.status} = 1
  3. options:
  4. tag: &8[&cDeathItems&8]
  5. czas: 5
  6. format.czasu: minutes
  7. permission: &4Nie masz uprawnien by uzywac tej komendy!
  8. on death of player:
  9. {deathitems.status} is 1:
  10. set {_DeathItems} to location of block above player
  11. set block at {_DeathItems} to chest
  12. add drops to block at {_DeathItems}
  13. add paper named "&bTu zginal &c%victim%" to block at {_DeathItems}
  14. clear drops
  15. send "&7Twoje itemki zostaly zapisane w skrzyni na koordach:&6 %location of victim%. &7Masz {@czas} {@format.czasu}" to player
  16. wait {@czas} {@format.czasu}
  17. set block at {_DeathItems} to air
  18.  
  19.  
  20. command /deathitems [<text>]:
  21. trigger:
  22. if player has permission "DeathItems.admin":
  23. if arg 1 is "on":
  24. set {deathitems.status} to 1
  25. send "{@tag} &7DeathItems &awlaczony"
  26. stop
  27. if arg 1 is "off":
  28. set {deathitems.status} to 0
  29. send "{@tag} &7DeathItems &cwylaczony"
  30. stop
  31. if arg 1 is "reload" or "r":
  32. execute player command "sk reload %script%"
  33. send "{@tag} &cPrzeladowano"
  34. else:
  35. send "{@tag} &c/deathitems <&fon/off&c>"
  36. stop
  37. else:
  38. send "{@tag} {@permission}"
  39. stop
Advertisement
Add Comment
Please, Sign In to add comment