Package bothack.prompts

Prompts from the game that the bot may have to respond to.

See: Description

Package bothack.prompts Description

Prompts from the game that the bot may have to respond to.

Prompt handlers are invoked on registered handlers in priority order until one of them returns a non-null value. This value is used as the response and no more handlers are invoked. The framework may handle some prompts automatically via actions before they reach bot handlers.

There are many more types of prompts that the framework always handles automatically via actions or default handlers. These are undocumented but available in the package bothack.internal.

See Also:
IBotHack.registerHandler(Integer, Object)