Date: 2014/07/05 17:52:04 UTC-07:00
Type: Denizen Script
'VoteNow':
type: world
events:
on vote command:
- ^if !<flag.p:VoteCooldown> {
- run Vote
}
else queue clear
- determine fulfilled
'Vote':
type: task
script:
- ^flag VoteCooldown duration:2
- yaml load:myfile.yml id:myfile
- yaml write:my.key value:myvalue id:myfile
- yaml savefile:myfile.yml id:myfile
- yaml unload id:myfile