Paste #3080: Edit of P#3079 - Anticheat

Date: 2014/04/02 13:23:47 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


AntiCheat:
  type: world
  events:
    on player clicks:
    - if <context.item.lore.strip_color> contains "Click to buy" && <player.open_inventory.type> == CRAFTING {
      - take <context.item>
      - log "<player.name> had a cheat item!" type:none
      }