Advertisement
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>] [<text>] [<text>] [<text>]:
- aliases: /mb
- trigger:
- if arg 1 is "get":
- give player a book named "&8Mobile" with lore "&7Mobieltje"
- stop
- if arg 1 is "whatsapp" OR "app":
- if arg 2 is "read":
- whatsapp(player, "Main")
- if arg 2 is "send":
- 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 green dye named "&2Whatsapp" to run function whatsapp(player, "Main")
- make gui slot 1 of player with a gold block named "&6Bank" to run function bank(player, "menu")
- #function sendWA(p: Player, s: String):
- function whatsapp(p: Player, s: String):
- #Jezelf in contacten
- if {_s} is "Main":
- open chest with 1 rows named "&2Contacten - Whatsapp" to {_p}
- make gui slot 0 of {_p} with a book named "&6%{_p}%" to close then run function whatsapp({_p}, "Read.%{_p}%")
- stop
- if {_s} contains "Read.":
- replace all "Read." in {_s} with ""
- set {_sendTo} to {_s}
- open chest with 6 rows named "&2%{_sendTo}% - Whatsapp" to {_p}
- #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
Advertisement