Paste #13990: Edit of P#13988 - Edit of P#13987 - Untitled Paste

Date: 2015/02/22 20:36:07 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
13
14
15


BrokenDefsInElseComparison:
  type: world
  debug: true
  events:
    on derp command:
    - define myFlag '<player.list_flags.get[1]>'
    - if false {
      - narrate ""
      }
      else if !<player.has_flag[%myFlag%]> {
      - narrate "Old Def Broken"
      }
      else {
      - narrate "Old Def Working"
      }