Hold a poll that saves the results using medals and scores. [More]
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://ComplexRobot.Voting##version=0Emulator users, in the BYOND pager go to File | Open Location and enter this URL:
This is a small library that relies on the medal and score system that BYOND has to save the results of a poll.
It uses the scores to save the number of votes each poll option has received, and it uses medals to keep track of which players have already voted.
An example of it in action is here.
(I had to use a game hub instead of a demo hub, because game hubs have scores and medals.)
Copyright © 2017 BYOND Software. All rights reserved.