Skip to content

Command Syntax

z0mbieparade edited this page Dec 18, 2017 · 1 revision

The syntax for a command's help might be a bit confusing at first. Let's take !tag as an example. If you type !tag help you'll see this:

Usage: !tag (-list | -delete <id> | -edit <id> <new tagline> | <new tagline>) (accepts colors) Description: create a tagline for the bot to say when you enter the room.

Params that are enclosed like so: ( this | that ) are OR commands. One of them is required. Params that start with a -flag are flags. They must be typed as displayed. <val> are strings or numbers required for that param.

!tag -list (lists all of a users taglines)
!tag -delete 4 (deletes the tagline with the id of #4)
!tag -edit 4 new tagline here (changes tagline of id #4 to 'new tagline here')
!tag new tagline (adds a new tagline to the users list)

On the other hand, commands that have params enclosed in [ param ] are OPTIONAL.

Usage: !np [irc nick] [params are optional] Description: get last scrobbled song from last.fm.

[irc nick] is optional, because unless you enter a irc nick here, it uses your own last.fm name.

Clone this wiki locally