Advertisement
Zeldaboy111

Skript Tutorial #43 ShopSigns prijzen!

Nov 11th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1.  
  2.  
  3. on load:
  4. set {colshopsigns::title} to "&e<&6ColShopSigns&e> &6"
  5. set {colshopsigns::text::nep} to "&4Je hebt &convoldoende permissies &4om deze command uit te voeren."
  6. set {colshopsigns::text::help} to "Doe &e/colshopsigns help &6voor meer informatie."
  7.  
  8. command /colshopsigns [<text>] [<text>] [<number>] [<text>] [<number>]:
  9. aliases: /css
  10. trigger:
  11. if player has permission "colshopsigns.use" OR "colshopsigns.*":
  12. if player is in world "Colosseum-w1":
  13. if arg 1 is set:
  14. if arg 1 is "help":
  15. send "&e=========<&6ColShopSigns&e>========="
  16. send "&e&l/colshopsigns [prijs] [item] [aantal items] [enchant (alleen bij items met enchant)]"
  17. send "&e&l/css [prijs] [item] [aantal items] [enchant (alleen bij items met enchant)]"
  18. send "&6Zet op een sign een item die een bepaalde prijs kost."
  19. send "&e=========<&6ColShopSigns&e>========="
  20. stop
  21. if arg 1 is set:
  22. if arg 2 is set:
  23. if arg 3 is set:
  24. if arg 4 is set:
  25. if arg 5 is set:
  26. set {_loc} to location of targeted block
  27. set {colshopsigns::prijs::%{_loc}%} to arg 1
  28.  
  29. send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
  30. send "&6&lPrijs: &e%arg 1%"
  31. send "&6&lItem: &e%arg 2%"
  32. send "&6&lAantal: &e%arg 3%"
  33. send "&6&lEnchant: &e%arg 4% %arg 5%"
  34. stop
  35.  
  36. else:
  37. send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
  38. send "&6&lPrijs: &e%arg 1%"
  39. send "&6&lItem: &e%arg 2%"
  40. send "&6&lAantal: &e%arg 3%"
  41. send "&6&lEnchant: &e%arg 4% 1"
  42. stop
  43.  
  44. else:
  45. send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
  46. send "&6&lPrijs: &e%arg 1%"
  47. send "&6&lItem: &e%arg 2%"
  48. send "&6&lAantal: &e%arg 3%"
  49. stop
  50. else:
  51. send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
  52. send "&6&lPrijs: &e%arg 1%"
  53. send "&6&lItem: &e%arg 2%"
  54. send "&6&lAantal: &e1"
  55. stop
  56. else:
  57. send "%{colshopsigns::title}%Je moet nog een item opgeven."
  58. stop
  59. else:
  60. send "%{colshopsigns::title}%%{colshopsigns::text::help}%"
  61. stop
  62. else:
  63. send "%{colshopsigns::title}%%{colshopsigns::text::help}%"
  64. stop
  65. else:
  66. send "%{colshopsigns::title}%&4Je moet in de wereld: &cColosseum-w1 &4zitten om deze command uit te voeren."
  67. stop
  68. else:
  69. send "%{colshopsigns::title}%%{colshopsigns::text::nep}%"
  70. stop
  71.  
  72. on rightclick:
  73. set {_loc} to location of targeted block
  74. if {colshopsigns::prijs::%{_loc}%} is set:
  75. send "%{colshopsigns::prijs::%{_loc}%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement