Paste #30308: Untitled Paste

Date: 2016/02/13 18:59:34 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


stop_warp:
  type: world
  debug: false
  events:
    on warp command:
    - if <context.args.get[1]||none> == hunt {
      - if <player.inventory.list_contents.include[<player.equipment||li@>].exclude[i@air].size||0> > 0 {
        - narrate "<&c>Your inventory has to be empty to do this."
        - determine cancelled
        }
      }