Zeldaboy111

Skript #135

Mar 31st, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. on enable:
  2. set {cw::title} to "&8[&eCraftWars&8]&7" #Default: "&8[&eCraftWars&8]&7"
  3.  
  4.  
  5. command /craftwars [<text>] [<text>] [<text>]:
  6. aliases: cw
  7. trigger:
  8. if player has permission "craftwars.*":
  9. if arg 1 is "help":
  10. if arg 2 is not set:
  11. execute player command "/cw help 1"
  12. stop
  13.  
  14. if arg 2 is "1":
  15. send "&8________[&eCraftWars&8]________"
  16. json("%player%", "&8/craftwars help||ttp:&9Krijg de help pagina||cmd:/cw help")
  17. json("%player%", "&8/craftwars shop||ttp:&9Ga naar de shop||cmd:/cw shop")
  18. send "&8________[&ePag: 1/1&8]________"
  19. stop
  20.  
  21. if arg 1 is "shop":
  22. openShop(player, "engineer", "main")
  23. stop
  24.  
  25.  
  26. else:
  27. send "%{cw::title}% Dit is geen geldig argument, doe /craftwars help."
  28. stop
  29. #else
  30.  
  31.  
  32.  
  33. #Machine:
  34. every 1 tick:
  35. loop all players:
  36. if loop-player is holding a book named "&3Dirt Machine" with lore "&8Plaats deze om een dirt machine te maken.":
  37. set {_fblock} to location of targeted block of loop-player
  38.  
  39. #set {_fblock.x} to targeted block of loop-player's x-coordinate+1
  40.  
  41. #set {_fblock.x} to stone
  42.  
  43. stop
  44.  
  45.  
  46. on rightclick:
Advertisement
Add Comment
Please, Sign In to add comment