byond - Modules - TypesVar Details - Proc Details

Polls

Vars

active_pollsStores the polls that have not expired, and set as active
concluded_pollsStores the polls that have expired, and set as active
to_send_at_lobbyFor storing messages to remind people to vote, that we do not want to get lost in the mess of a server starting

Procs

handle_lobbySends all the queued messages when we enter the lobby mode, so the messages do not get lost
remind_new_userReminds new users logging in of any uncompleted polls.
setup_pollsClear and populate the poll lists with fresh data

Var Details

active_polls

Stores the polls that have not expired, and set as active

concluded_polls

Stores the polls that have expired, and set as active

to_send_at_lobby

For storing messages to remind people to vote, that we do not want to get lost in the mess of a server starting

Proc Details

handle_lobby

Sends all the queued messages when we enter the lobby mode, so the messages do not get lost

remind_new_user

Reminds new users logging in of any uncompleted polls.

setup_polls

Clear and populate the poll lists with fresh data