Guest User

give loop-player

a guest
Feb 25th, 2017
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. if arg 1 is "giveall":
  2. if arg 2 is set:
  3. player has permission "lottery.admin.giveall":
  4. loop all players:
  5. give loop-player (%arg 2% magma cream with name "&2&lL&a&lottery &6&lC&e&loin" with lore "&e&lType &a&l/lottery play&e&l!")
  6. broadcast "{@prefix} &a&l%player% &e&lgave all players %arg 2% &2&lL&a&lottery &6&lC&e&loins&e&l!"
  7. else:
  8. send "&4&lYou don't have permission to do that"
  9. stop
  10. else:
  11. send "{@prefix} &e&l/lottery giveall <amount>"
  12. stop
Advertisement
Add Comment
Please, Sign In to add comment