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

status(2) - LynxBot manual

NAME

status - set channel status

SYNOPSIS

$status [-a] [STATUS...]
$status -s SEDCMD

DESCRIPTION

status changes the status of the Twitch stream if STATUS or the -s option is provided, or prints the current status otherwise.

Without the -a option, STATUS is set as the stream's status. With -a, STATUS is instead appended to the current status.

Changing the stream status requires LynxBot to be authorized to modify the streamer's channel settings.

OPTIONS

-a, --append
append the argument to the end of the current status
--help
print brief description and usage information
-s, --sed=SEDCMD
perform the sed substitution command given
by SEDCMD on the current channel status

EXAMPLES

Prints the stream's current status:

$status

Changes the stream's status to "116/200m Hunter | $about":

$status 116/200m Hunter | $about

Appends "| $newvid" to the current status:

$status -a | $newvid

Encloses the first occurrence of the string 'abc' in the current status in quotations:

$status -s 's/abc/"&"/'

SEE ALSO

Twitch Authorization(3)