Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /storebottle <integer>:
- permission: coins.store
- usage: &d/storebottle <amount> &f(You can only store coins up to 50 per book in integers of 5!)
- trigger:
- if arg-1 is greater than 50:
- send "&cMust be less than 50"
- if {coins.%player%} is greater than or equal to arg-1:
- if arg-1 is equal to 5:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 10:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 15:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 20:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 25:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 30:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 35:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 40:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 45:
- remove arg-1 from {coins.player}
- give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 50:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 55:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 60:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 65:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 70:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 75:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 80:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 85:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 90:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 95:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- if arg-1 is greater than or equal to 100:
- remove arg-1 from {coins.player}
- give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
- send "&fYou made a check with &d%arg-1% coins on it"
- else:
- send "&cYou do not have enough coins to do that, or amount you want to withdraw is not a multiple of 5!"
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "5":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "10":
- add 10 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "15":
- add 15 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "20":
- add 20 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "25":
- add 25 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "30":
- add 30 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "35":
- add 35 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "40":
- add 40 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "45":
- add 45 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "50":
- add 50 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "55":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "60":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "65":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "70":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "75":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "80":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "85":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "90":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "95":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
- on right click with book:
- if name of player's held item contains "Check":
- if lore of player's held item is "100":
- add 5 to {coins.player}
- send "&dYou have deposited a check"
- remove 1 book from player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement