Paste #11500: Pchecking

Date: 2014/11/25 19:48:23 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
16
17
18
19
20


Commands_Script:
  type: world
  events:
# +----------------------------------
# |   Property Commands
# +----------------------------------
    on pcheck command:
      - determine passively fulfilled
      - define PChecking li@
      - narrate "Checking all offline players" 
      - foreach <server.list_offline_players> {
        - if <player.last_played> > 1209600000 {
          - if !<player.flag[Sold]> {
            - define PChecking <def[PChecking].include[%value%]>
            - foreach li@PChecking {
              - narrate "<li@PChecking>"
            }
          }
        }
      }