a guest Oct 13th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on region enter:
  2.     if "%region%" contains "contra":
  3.         loop inventory of player:
  4.             if player's inventory contains cobblestone:
  5.                 loop player's inventory:
  6.                     broadcast "&c%player% HAS CONTRABAND ITEMS"
  7.                     set {amount.%player%} to the amount of cobblestone in player's inventory
  8.                     remove {amount.%player%} of cobblestone from player's inventory
  9.             else:
  10.                 broadcast "&a%player% IS CLEAN"
  11.                 stop
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand