Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- set {colshopsigns::title} to "&e<&6ColShopSigns&e> &6"
- set {colshopsigns::text::nep} to "&4Je hebt &convoldoende permissies &4om deze command uit te voeren."
- set {colshopsigns::text::help} to "Doe &e/colshopsigns help &6voor meer informatie."
- command /colshopsigns [<text>] [<text>] [<number>] [<text>] [<number>]:
- aliases: /css
- trigger:
- if player has permission "colshopsigns.use" OR "colshopsigns.*":
- if player is in world "Colosseum-w1":
- if arg 1 is set:
- if arg 1 is "help":
- send "&e=========<&6ColShopSigns&e>========="
- send "&e&l/colshopsigns [prijs] [item] [aantal items] [enchant (alleen bij items met enchant)]"
- send "&e&l/css [prijs] [item] [aantal items] [enchant (alleen bij items met enchant)]"
- send "&6Zet op een sign een item die een bepaalde prijs kost."
- send "&e=========<&6ColShopSigns&e>========="
- stop
- if arg 1 is set:
- if arg 2 is set:
- if arg 3 is set:
- if arg 4 is set:
- if arg 5 is set:
- set {_loc} to location of targeted block
- set {colshopsigns::prijs::%{_loc}%} to arg 1
- send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
- send "&6&lPrijs: &e%arg 1%"
- send "&6&lItem: &e%arg 2%"
- send "&6&lAantal: &e%arg 3%"
- send "&6&lEnchant: &e%arg 4% %arg 5%"
- stop
- else:
- send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
- send "&6&lPrijs: &e%arg 1%"
- send "&6&lItem: &e%arg 2%"
- send "&6&lAantal: &e%arg 3%"
- send "&6&lEnchant: &e%arg 4% 1"
- stop
- else:
- send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
- send "&6&lPrijs: &e%arg 1%"
- send "&6&lItem: &e%arg 2%"
- send "&6&lAantal: &e%arg 3%"
- stop
- else:
- send "%{colshopsigns::title}%Je hebt een &eColShopSign &6gemaakt met de volgende eigenschappen:"
- send "&6&lPrijs: &e%arg 1%"
- send "&6&lItem: &e%arg 2%"
- send "&6&lAantal: &e1"
- stop
- else:
- send "%{colshopsigns::title}%Je moet nog een item opgeven."
- stop
- else:
- send "%{colshopsigns::title}%%{colshopsigns::text::help}%"
- stop
- else:
- send "%{colshopsigns::title}%%{colshopsigns::text::help}%"
- stop
- else:
- send "%{colshopsigns::title}%&4Je moet in de wereld: &cColosseum-w1 &4zitten om deze command uit te voeren."
- stop
- else:
- send "%{colshopsigns::title}%%{colshopsigns::text::nep}%"
- stop
- on rightclick:
- set {_loc} to location of targeted block
- if {colshopsigns::prijs::%{_loc}%} is set:
- send "%{colshopsigns::prijs::%{_loc}%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement