Skip to content

Dynamic Commands

Agustin San Roman edited this page Jul 14, 2017 · 3 revisions

Dynamic commands are those created dynamically by bot administrators. They can be created, also modified or deleted, using commands or using the bot's control panel.

Dynamic commands are limited, they consist only on responding with a plain text. They can be used for making announcements without copy/paste or for frequently asked questions.

Dynamic commands require the permission info for responding in a chat room. If you don not have it, the bot will respond via private message. All dynamic commands can be used with wall.

Create a Dynamic Command

  • A: Using the bot's control panel

    1. Go to Dynamic Commands menu option
    2. Select an ID (the command name) and a text in the textarea
    3. Press Add Text Command
  • B: Using commands

    1. Use .temp <text> to save the command content
    2. Use .setcmd <command> to create the command

Delete a Dynamic Command

  • A: Using the bot's control panel

    1. Go to Dynamic Commands menu option
    2. Look for the command and press Delete Command
  • B: Using commands

    1. Use .rmcmd <command> to remove a dynamic command

Modify a Dynamic Command

  • A: Using the bot's control panel

    1. Go to Dynamic Commands menu option
    2. Look for the command and edit the content in the corresponding textarea
    3. Press Edit Command
  • B: Using commands

    1. Use .temp <text> to save the command content
    2. Use .setcmd <command> to modify the command

Index Commands

Index commands are sets of dynamic commands. Example: suspect with suspect OU, suspect LC`, etc.

How to create an index command:

  • A: Using the bot's control panel

    1. Go to Dynamic Commands menu option
    2. Select an ID (the command name)
    3. Press Add Index Command
  • B: Using commands

    1. Use .setindexcmd <command> to create an index command

They can be deleted the same way as normal dynamic commands.

Add/Modify Subcomands to Index Commands

  • A: Using the bot's control panel

    1. Go to Dynamic Commands menu option
    2. Look for the command and use the options Add Subcommand or Edit Subcommand
  • B: Using commands

    1. Use .temp <text> to save the sub-command content
    2. Use .setsubcmd <command>, <sub-command> to create/modify it

Delete Subcomands

  • A: Using the bot's control panel

    1. Go to Dynamic Commands menu option
    2. Look for the command and use the option Delete Subcommand
  • B: Using commands

    1. Use .rmsubcmd <command>, <sub-command> to delete it

Aliases

You can create custom aliases for your commands.

Using the bot's control panel you can go to Command Parser and Aliases where you can manage your command aliases.

Using commands, you can use setalias <alias>, <command> to create an aliase and rmalias <alias> to remove it