aboutsummaryrefslogtreecommitdiff
path: root/webAO/client/sender/sendZZ.ts
blob: 237ab37076f331f14a08203ec42bb99de687148b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { client, extrafeatures } from "../../client";

/**
 * Sends call mod command.
 * @param {string} message to mod
 */
export const sendZZ = (msg: string) => {
    if (extrafeatures.includes("modcall_reason")) {
        client.sender.sendServer(`ZZ#${msg}#%`);
    } else {
        client.sender.sendServer("ZZ#%");
    }
}