Zeldaboy111

Skript Tutorial #39 Shop!

Nov 1st, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. command /setshop:
  2. trigger:
  3. if player has permission "shop.*" OR "shop.set":
  4. set {shop::%world%} to location of player
  5. send "&e<&6Shop&e> &6Je hebt de &eshop &6van de wereld &e%world% &6gezet op: &e%location of player%&6."
  6. stop
  7. else:
  8. send "&e<&6Shop&e> &4Je hebt &convoldoende permissies &4om deze command uit te voeren."
  9. stop
  10.  
  11. command /shop:
  12. trigger:
  13. if {shop::%world%} is set:
  14. teleport the player to {shop::%world%}
  15. send "&e<&6Shop&e> &6Welkom in de shop."
  16. stop
  17. else:
  18. send "&e<&6Shop&e> &6Er is nog geen shop in deze wereld."
  19. stop
Advertisement
Add Comment
Please, Sign In to add comment