Paste #36091: Untitled Paste

Date: 2016/09/14 18:46:18 UTC-07: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


TeaOutpost_OngoingSpellTask:
  type: task
  debug: true
  script:
    - if <server.flag[<def[1]>SpellEffect]||None> != None {
      - while <player.location.cuboids.as_list.contains[cu@<def[1]>]||false> {
        - choose "1": 
          - case "1": 
            - debug LOG "Success!" 
        - wait 10s
        - if <player.is_online||false> != true {
          - while stop
          }
        }
      }