Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sends command after output in chat #68

Open
JealousDK opened this issue Jun 21, 2020 · 0 comments
Open

Sends command after output in chat #68

JealousDK opened this issue Jun 21, 2020 · 0 comments

Comments

@JealousDK
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant