Paste #14411: Edit of P#14410 - Edit of P#14409 - Edit of P#14408 - playlist

Date: 2015/03/10 20:13:53 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


playlist:
  type: world
  events:
    on server start:
    - while !<server.flag[playlist]> == 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]> == Empty {
      - flag server playlist:->:sound1
      - flag server playlist:->:sound2
      }