Zeldaboy111

Skript #94

Jan 28th, 2019
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. on load:
  2. set {crate::title} to "&2[&aCrates&2] &a&k::&2"
  3. set {crate::nep} to "%{crate::title}% &4Je hebt &c&lonvoldoende permissies &4om deze command uit te voeren."
  4.  
  5. command /key [<text>] [<player>]:
  6. trigger:
  7. if player has permission "crate.key.give" OR "crate.*":
  8. if arg 1 is set:
  9. if arg 1 is "list" OR "lijst":
  10. send "%{crate::title}% Dit zijn alle crates:"
  11. send "&a&lBasic"
  12. stop
  13. if arg 1 is "Basic":
  14. if arg 2 is set:
  15. if arg 2 is online:
  16.  
  17. send "%{crate::title}% Je hebt een &a&lkey &2gegeven aan &a&l%arg 2%&2."
  18. send "%{crate::title}% Veel plezier met je key!" to arg 2
  19.  
  20. give 1 tripwire hook named "&7Basic Key" with lore "&5&kl" to arg 2
  21. stop
  22. else:
  23. send "%{crate::title}% &4Deze speler is niet online."
  24. stop
  25. else:
  26. send "%{crate::title}% Veel plezier met je key!"
  27. give 1 tripwire hook named "&7Basic Key" with lore "&5&kl" to player
  28. stop
  29. else:
  30. send "%{crate::title}% Dit is geen key, doe &a&l/key list &2voor meer info."
  31. stop
  32.  
  33. else:
  34. send "%{crate::title}% Doe &a&l/key <keynaam/list> [speler]&2."
  35. stop
  36.  
  37. else:
  38. send "%{crate::nep}%"
  39. stop
Advertisement
Add Comment
Please, Sign In to add comment