Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- waluta : zl
- on sign change:
- if line 1 is "&a Sklep":
- if player is not an op:
- send "&4Nie mozesz stawiac sklepu!"
- set event-block to air
- drop 1 sign
- stop
- on rightclick on sign:
- if line 1 is "&a Sklep":
- line 2 is "Diament":
- if player's balance is higher than 2400:
- give player 1 diamond
- remove 2400 from player's balance
- send "&a Zakupiles diament za 2400 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Zloto":
- if player's balance is higher than 600:
- give player 1 gold ingot
- remove 600 from player's balance
- send "&a Zakupiles zloto za 600 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Zelazo":
- if player's balance is higher than 200:
- give player 1 iron ingot
- remove 200 from player's balance
- send "&a Zakupiles zelazo za 200 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Jablko":
- if player's balance is higher than 100:
- give player 1 apple
- remove 100 from player's balance
- send "&a Zakupiles Jablko za 100 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Krem":
- if player's balance is higher than 300:
- give player 1 Magma cream
- remove 300 from player's balance
- send "&a Zakupiles magmowy krem za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Bruk":
- if player's balance is higher than 100:
- give player 1 cobblestone
- remove 100 from player's balance
- send "&a Zakupiles bruk za 100 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "S-Arbuz":
- if player's balance is higher than 300:
- give player 1 382
- remove 300 from player's balance
- send "&a Zakupiles slniacy arbuz za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Ksiazka":
- if player's balance is higher than 500:
- give player 1 book
- remove 500 from player's balance
- send "&a Zakupiles ksiazke za 500 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Lza":
- if player's balance is higher than 300:
- give player 1 Ghast Tear
- remove 300 from player's balance
- send "&a Zakupiles lze ghasta za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Oko":
- if player's balance is higher than 300:
- give player 1 376
- remove 300 from player's balance
- send "&a Zakupiles sfermentowane oko pajaka za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Proszek":
- if player's balance is higher than 300:
- give player 1 Blaze powder
- remove 300 from player's balance
- send "&a Zakupiles plomienny proszek za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Wegiel":
- if player's balance is higher than 50:
- give player 1 coal
- remove 50 from player's balance
- send "&a Zakupiles wegiel za 50 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Lapis":
- if player's balance is higher than 50:
- give player 1 351:4
- remove 50 from player's balance
- send "&a Zakupiles lapis za 50 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- line 2 is "Strzala":
- if player's balance is higher than 25:
- give player 1 arrow
- remove 25 from player's balance
- send "&a Zakupiles strzale za 25 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- if line 1 is "&aSklep &6VIP":
- if line 2 is "Diament":
- if player's balance is higher than 600:
- give player 1 diamond
- remove 600 from player's balance
- send "&a Zakupiles diament za 600 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- if line 2 is "Refil":
- if player's balance is higher than 300:
- give player 1 322
- remove 300 from player's balance
- send "&a Zakupiles refil za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- if line 2 is "KOX":
- if player's balance is higher than 1200:
- give player 1 322:1
- remove 1200 from player's balance
- send "&a Zakupiles koxa za 1200 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- if line 1 is "&aSklep &eSVIP":
- if line 2 is "Diament":
- if player's balance is higher than 300:
- give player 1 diamond
- remove 300 from player's balance
- send "&a Zakupiles diament za 300 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- if line 2 is "Refil":
- if player's balance is higher than 150:
- give player 1 322
- remove 150 from player's balance
- send "&a Zakupiles refil za 150 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- if line 2 is "KOX":
- if player's balance is higher than 600:
- give player 1 322:1
- remove 600 from player's balance
- send "&a Zakupiles koxa za 600 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wystarczająco duzo kasy!"
- stop
- on leftclick on sign:
- if line 1 is "&a Sklep":
- line 2 is "Diament":
- if player has 1 diamond:
- remove 1 diamond from player
- add 600 to player's balance
- send "&a Sprzedales diament za 600 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz diaksow!"
- stop
- line 2 is "Zloto":
- if player has 1 gold ingot:
- remove 1 gold ingot from player
- add 100 to player's balance
- send "&a Sprzedales zloto za 100 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz zlota!"
- stop
- line 2 is "Zelazo":
- if player has 1 iron ingot:
- remove 1 iron ingot from player
- add 20 to player's balance
- send "&a Sprzedales zelazo za 20 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz zelaza!"
- stop
- line 2 is "Jablko":
- if player has 1 apple:
- remove 1 apple from player
- add 10 to player's balance
- send "&a Sprzedales jablko za 10 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz jablek!"
- stop
- line 2 is "Krem":
- if player has 1 Magma Cream:
- remove 1 Magma Cream from player
- add 30 to player's balance
- send "&a Sprzedales magmowy krem za 30 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz magmowego kremu!"
- stop
- line 2 is "Bruk":
- if player has 1 cobblestone:
- remove 1 cobblestone from player
- add 10 to player's balance
- send "&a Sprzedales bruk za 10 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz bruku!"
- stop
- line 2 is "S-Arbuz":
- if player has 1 382:
- remove 1 382 from player
- add 30 to player's balance
- send "&a Sprzedales Slniacy Arbuz za 30 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz slniacego arbuza!"
- stop
- line 2 is "Ksiazka":
- if player has 1 book:
- remove 1 book from player
- add 50 to player's balance
- send "&a Sprzedales ksiazke za 50 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz ksiazek!"
- stop
- line 2 is "Lza":
- if player has 1 Ghast Tear:
- remove 1 Ghast Tear from player
- add 30 to player's balance
- send "&a Sprzedales Lze ghasta za 30 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz lez ghasta!"
- stop
- line 2 is "Oko":
- if player has 1 376:
- remove 1 376 from player
- add 30 to player's balance
- send "&a Sprzedales Sfermentowane oko za 30 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz sfermentowanych oczu!"
- stop
- line 2 is "Proszek":
- if player has 1 blaze powder:
- remove 1 blaze powder from player
- add 30 to player's balance
- send "&a Sprzedales Plomienny proszek za 30 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz plomiennego proszku!"
- stop
- line 2 is "Wegiel":
- if player has 1 coal:
- remove 1 coal from player
- add 5 to player's balance
- send "&aSprzedales wegiel za 5 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz wegla!"
- stop
- line 2 is "Lapis":
- if player has 1 351:4:
- remove 1 351:4 from player
- add 5 to player's balance
- send "&aSprzedales lapis za 5 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz lapisu!"
- stop
- line 2 is "Strzala":
- if player has 1 arrow:
- remove 1 arrow from player
- add 2 to player's balance
- send "&a Sprzedales strzale za 2 {@waluta}!"
- stop
- else:
- send "&c Nie posiadasz strzal!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment