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

addcom(2) - LynxBot manual

NAME

addcom - create a new custom command

SYNOPSIS

$addcom [-c CD] CMD RESPONSE

DESCRIPTION

addcom creates a new custom command with the given RESPONSE.

CMD is the keyword that activates the command, without the leading dollar sign $.

The cooldown of the command is 15 seconds unless specified otherwise.

OPTIONS

-c, --cooldown=CD
set the cooldown of the command to CD seconds
--help
print brief description and usage information

EXAMPLES

Creates a command $hi with the response "Hello, world!" and a 15s cooldown:

$addcom hi Hello, world!

Creates a command $cd with the response "This command has a 60 second cooldown" and a 60s cooldown:

$addcom -c 60 cd this command has a 60 second cooldown

SEE ALSO

delcom(2), editcom(2), Custom Commands(3), customcmds.json(4)