Skip to content
Commit eefe9cc5 authored by Andrew Price's avatar Andrew Price
Browse files

Implement mw.command for defining new commands (bind replacement)

Define a new command ,boop handled by boopCmd:

    function boopCmd(arg1, arg2, arg3)
    {
            mw.print("Arg 1: " + arg1);
            mw.print("Arg 2: " + arg2);
            mw.print("Arg 3: " + arg3);
    }
    mw.command.boop = boopCmd;
parent ccde2b85
Loading
Loading
Loading
Pipeline #460 passed with stage
in 7 minutes and 38 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment