# Botting

## start\_bot()

Starts botting.

#### Returns

`True` if bot has started, `False` if starting the bot failed.

## stop\_bot()

Stops botting.

#### Returns

`True` if bot has stopped, `False` if stopping the bot failed.

## start\_trace(name)

Starts tracing a player.

#### Returns

`True` if tracing has started, `False` if starting the trace failed.

#### Usage

`start_trace('player name')`

## stop\_trace()

Stops tracing.

#### Returns

`True` if trace has stopped, `False` if stopping the trace failed.

## start\_trade()

Starts auto trade.

#### Returns

`True` if trading has started, `False` if starting trade failed.

## stop\_trade()

Stops auto trade.

#### Returns

`True` if auto trade has stopped, `False` if stopping auto trade failed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://plugins.phbot.org/phbot-api/botting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
