Paste #30307: Untitled Paste

Date: 2016/02/13 18:58:52 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
12


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