Hi,
i've tried several things, then re-searched the net and some plugins. But i just want an easy ChatCommand which realizes arguments.
Like as example: i want that if i type /global Testmessage there will be broadcasted "Testmessage" in the chat.
[ChatCommand("global")
void GlobalMessage(string message)
{
PrintToChat($"[Global] {message});
}
^ tried with parameters but i think im to stupid for it, im not a beginner and not an expert in C# but im kinda new to plugin development.
Thanks in advance
i've tried several things, then re-searched the net and some plugins. But i just want an easy ChatCommand which realizes arguments.
Like as example: i want that if i type /global Testmessage there will be broadcasted "Testmessage" in the chat.
[ChatCommand("global")
void GlobalMessage(string message)
{
PrintToChat($"[Global] {message});
}
^ tried with parameters but i think im to stupid for it, im not a beginner and not an expert in C# but im kinda new to plugin development.
Thanks in advance

