View on GitHub

LynxBot

A Twitch.tv IRC bot for Old School Runescape

Download this project as a .zip file Download this project as a tar.gz file

strawpoll(2) - LynxBot manual

NAME

strawpoll - create polls

SYNOPSIS

$strawpoll [-bcm] QUESTION | OPTION1 | OPTION2...

DESCRIPTION

strawpoll creates polls on strawpoll with the given QUESTION and OPTIONs.

QUESTION and all OPTIONs are separated by pipes |.

OPTIONS

-b, --binary
create a poll with only "yes" and "no" as options
-c, --captcha
require captcha to vote in poll
--help
print brief description and usage information
-m, --multi
allow voters to select multiple options

EXAMPLES

Creates a poll with the question "What should I eat for dinner?" and the options "Saltine crackers", "Bread" and "Lasagna":

$strawpoll What should I eat for dinner? | Saltine crackers | Bread | Lasagna

Creates a poll with the question "Should I do a 100m stake?" with "yes" and "no" as options:

$strawpoll -b Should I do a 100m stake?

Creates a poll which requires a captcha to be solved to vote, in which users can choose multiple options:

$strawpoll -mc Pick as many as you like | a | b | c | d

SEE ALSO

active(1), count(2)