Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. #shopping skript - bezerktwerk
  2.  
  3. command /shop [<text>]:
  4. permission: skript.op
  5. trigger:
  6. if arg 1 is not set:
  7. SEND "&lTo use: /shop <enable/DISABLE>" to the player
  8.  
  9. if arg 1 is "enable":
  10. broadcast &b&lShopping now enabled!
  11. if arg 1 is "DISABLE":
  12. broadcast &b&lShopping now disabled!
  13.  
  14. on rightclick:
  15. block is a sign
  16. line 1 of sign is "[SHOP]"
  17. player has 9 gold ingots
  18. remove 9 gold ingots from player
  19. give player 1 diamond
  20. message &a&l&o"You bought a Diamond!"
  21.  
  22. on rightclick:
  23. block is a sign
  24. line 1 of sign is "[SHOP]"
  25. player has 1 diamond
  26. remove 1 diamond from player
  27. give player 9 gold ingots
  28. message &b&l&o"You bought 9 Gold!"
  29.  
  30. on rightclick:
  31. block is a sign
  32. line 1 of sign is "[SHOP]"
  33. player has 1 diamond
  34. remove 1 diamond from player
  35. give player 1 Head
  36. message &5&l&o"You bought a player head!"
  37.  
  38. on rightclick:
  39. block is a sign
  40. line 1 of sign is "[SHOP]"
  41. player has 5 diamonds
  42. remove 3 diamonds from player
  43. give player 5 384
  44. message &6&l&o"You bought 64 enchant bottles!"
  45.  
  46. on rightclick:
  47. block is a sign
  48. line 1 of sign is "[SHOP]"
  49. player has 9 diamonds
  50. remove 9 diamonds from player
  51. give player 12 Bookshelf
  52. message &2&l&o"You bought 12 Bookshelfs!"
  53. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement