Paste #11506: Untitled Paste

Date: 2014/11/25 20:30:36 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


# +----------------------------------
# |   World Scripts
# +----------------------------------

Commands_Script:
  type: world
  events:
# +----------------------------------
# |   Property Commands
# +----------------------------------
    on pcheck command:
      - determine passively fullfilled
      - 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%]>
          }
        }
      }
      - narrate "<red>Listing all players who've been offline for over 2 weeks"
      - narrate "<def[PChecking].formatted>"