# Botting Command Additions

**PluginCore.cs**

```csharp
[Plugin(1, "Extra Botting Command Plugin", "Adds new command to the botting tab!")]
public class PluginCore : IStartPlugin
{
    /// <summary>
    /// Should be used to check compatability with the
    /// current version of the bot.
    /// </summary>
    public override void OnLoad(int version, int subversion, int buildversion) { }
    public override PluginResponse OnEnable(IBotSettings botSettings) {
        /* Regular plugin content */
        return base.OnEnable(botSettings);
    }
}

public class TestCommand : IExternalCommand {
    public override string Name => "Test Command 1";
    public override string Description => "This is a description for the command.";

    public TestCommand() {
        this.Variables = new ICommandVariableCollection(
            new ExternalCommandVariable(typeof(string), "internal_variable_name", "Text to print", "What message should we send to the chat?", "This is a default message")
        );
    }

    public override CommandResponse Activate(IBotContext Context, ICommandVariables arguments, IStopToken token) {
        Context.Functions.Chat("Hello, my message is: " + arguments.Get<string>("internal_variable_name"));
        return new CommandResponse(); // no parameters means success=true
    }
}
```


---

# 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://docs.minecraftbot.com/examples/botting-command-additions.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.
