Trigger

From StealthBot Wiki Backup
Revision as of 22:01, 3 September 2009 by Ribose (talk) (Special triggers)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Every StealthBot command must be executed with the bot's trigger followed by the command's name.

Setting

In this documentation, . is the trigger used in examples, but this can be changed by the bot's settings.

Special triggers

Commands always require a trigger of some sort. In the following cases, another built-in trigger can be used instead of the one set in the bot:

Console triggers

When executing commands from the console, you must use one of the following slash-triggers instead of the set trigger. If you use the set trigger, the bot will not execute it as a command!

/

The trigger required is a "/" to respond back without going to Battle.net.

Example using the time command: Template:BotText

//

You may also use the trigger "//" to send the response to the current Battle.net channel.

Example: Template:BotText

///

This special trigger bypasses internal processing completely and sends a / command to Battle.net normally.

Example: Template:BotText

External triggers

When executing commands from outside of the bot use the bot's trigger as set in the settings. Throughout this wiki, the default trigger . will be used in examples. You must use the trigger set in the bot. Determine your current trigger setting with the trigger command and change it with the settrigger command.

Example: Template:BotText

All trigger

Use "all, " or "all: " as a special trigger to use the command on all bots who are present.

Example: Template:BotText

Operator trigger

Use "ops, " or "ops: " as a special trigger to use the command on all bots who are present as an operator in the channel.

Example: Template:BotText

Username trigger

Use the Username trigger as a special trigger by typing the bot's name followed by "" or " followed by the command. For this, wildcards are acceptable. This trigger is not case sensitive.

Examples: Template:BotText Template:BotText

?trigger

Template:Main This special command takes the trigger ? in place of your trigger, since the command is meant for when the trigger is not known.

!inbox

Template:Main This special command takes the trigger ! in place of your trigger, so that someone who has mail will always know they can do "!inbox" to retrieve their bot mail.