public void OnPluginStart() {
RegConsoleCmd("sm_discord", Command_Discord, "Replies with Discord link in chat or console.");
}
public Action Command_Discord(int client, int args) {
C_ReplyToCommand(client, "[{orange}Warmup.zone{default}] {darkred}discord.warmup.zone{default} or {darkred}https://discord.gg/sbGDjQ4{default}");
return Plugin_Handled;
}
With Chat-Processor:
<ReplyToCommand Message output><sm_discord command>
Without Chat-Processor
<sm_discord command><ReplyToCommand Message output>
With Chat-Processor:
<ReplyToCommand Message output>
<sm_discord command>
Without Chat-Processor
<sm_discord command>
<ReplyToCommand Message output>