Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. on region enter:
  2. if "%region%" contains "contra":
  3. loop inventory of player:
  4. if player's inventory contains cobblestone:
  5. broadcast "&c%player% HAS CONTRABAND ITEMS"
  6. set {amount.%player%} to the amount of cobblestone in player's inventory
  7. remove {amount.%player%} of cobblestone from player's inventory
  8. else:
  9. broadcast "&a%player% IS CLEAN"
  10. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement