Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on enable:
- set {_mb::prefix} to "&3[&dMobile&3] &f>> &8"
- command /mobile [<text>]:
- aliases: /mb
- trigger:
- if arg 1 is "get":
- give player a book named "&8Mobile" with lore "&7Mobieltje"
- stop
- on rightclick:
- player is holding a book named "&8Mobile" with lore "&7Mobieltje":
- open chest with 1 rows named "&8Mobile" to player
- make gui slot 0 of player with a paper named "&fWord" to run function word(player, "menu")
- make gui slot 1 of player with a green dye named "&2Whatsappp" to run function whatsapp(player, "menu")
- make gui slot 2 of player with a gold block named "&6Bank" to run function bank(player, "menu")
- function word(p: Player, page: String):
- #Kies GUI met 3 bestanden
- set {_book} to a new book
- if {_page} is "menu":
- if {_mobile::word::page1} is not set:
- set {_mobile::word::page1} to "&7Naamloos"
- if {_mobile::word::page2} is not set:
- set {_mobile::word::page2} to "&7Naamloos"
- if {_mobile::word::page3} is not set:
- set {_mobile::word::page3} to "&7Naamloos"
- open chest with 1 rows named "&fWord" to {_p}
- make gui slot 0 of {_p} with a paper named "%{_mobile::word::page1}%" to run function word({_p}, "1")
- make gui slot 1 of {_p} with a paper named "%{_mobile::word::page2}%" to run function word({_p}, "2")
- make gui slot 2 of {_p} with a paper named "%{_mobile::word::page3}%" to run function word({_p}, "3")
- if {_page} is "1":
- open book {_book} to {_p}
- if {_page} is "2":
- open book {_book} to {_p}
- if {_page} is "3":
- open book {_book} to {_p}
- #Open boek
- function whatsapp(p: Player, s: String):
- #Jezelf in contacten
- #Anvil om bericht te sturen
- function bank(p: Player, s: String):
- #Accounts (persoonlijk - gold block)
- #Geld (waardes; iron = 10, gold = 50 & diamond = 100)
Advertisement
Add Comment
Please, Sign In to add comment