a guest Oct 13th, 2019 87 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.                 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
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