Vote.CreateOption
Optional integration
This method requires Callvote.
Creates a vote option, which can be used in a vote.
Syntax
Vote.CreateOption option "display_text"
Returns
reference to VoteOption object
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
option | Yes | Text with no spaces e.g. someValue (quotes are not required) | This will be the command for voting AND the result of the vote, if it wins. |
display text | Yes | Any text e.g. "Hello, World!" | The description of the option. |
On a running server
Use serhelp Vote.CreateOption to inspect the reference generated by your installed SER version.