Paste #8934: Untitled Paste

Date: 2014/08/28 10:57:29 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


'click':
  type: world
  events:  



    on player opens inventory:  
    - if <player.location.world> == w@MyWorld {
      - if <context.inventory> != <player.inventory> { 
        - run s@TESTRUN
        - determine cancelled 
        }



TESTRUN: 
    type: task
    script: 
    - wait 10
    - announce 'ITS WORK!' 
    } else {
    - narrate "say something dont work"
    }