Date: 2015/03/10 20:43:21 UTC-07:00
Type: Denizen Script
playlist:
type: world
events:
on server start:
- while <server.flag[playlist].as_list.is_empty.not||false> {
- 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||true> {
- flag server playlist:->:sound1
- flag server playlist:->:sound2
}