Paste #20152: Untitled Paste

Date: 2015/09/18 18:33:35 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
16
17
18
19


chakra_events:
  type: world
  events:
    on player join:
      - if <player.has_flag[Chakra].not> {
        - flag <player> Chakra:100
      }
    on player starts sneaking:
      - if !<player.has_flag[debug_board]> queue
      - wait 1t
      - while <player.is_sneaking.and[<player.flag[Chakra].is[LESS].than[100]>]||false> {
        - if <player.is_online.not> {
          - while stop
        }
        - sidebar set "values: <c>Chakra<co><e> <player.flag[Chakra]>"
        - wait 5t
      }
    on player quit:
      - narrate "The potato has left the realm"