Paste #10762: Untitled Paste

Date: 2014/10/24 22:04:42 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


PlayerTimeScript:
    type: task
    debug: true
    script:
    - flag <player> PlayerTimeScript:<queue.id>
    - if <player.flag[Hasalreadytheplayertimescriptrunning]||null> == null && <player.is_online> {
      - ^flag actualtime:0
      - ^flag Hasalreadytheplayertimescriptrunning:true
      }
    - if <player.flag[afk]||null> == null && <player.is_online> {
      - ^flag <player> actualtime:+:1
      }
    - wait 60
    - run s@playertimescript