Date: 2015/03/10 20:26:34 UTC-07:00
            
Type: Denizen Script
        
playlist:
  type: world
  events:
    on server start:
    - while !<server.flag[playlist].as_list.is_empty> {
      - define psound:<server.flag[playlist].list.random>
      - playsound <server.list_online_players> sound:%psound% 
      - flag server playlist:<-:%psound%
      - wait 300s
      } 
    - if <server.flag[playlist].as_list.is_empty> {
      - flag server playlist:->:sound1
      - flag server playlist:->:sound2
      }