This adds the ability to add autocomplete options to commands in aowl!
Shortcut command "a" also added. (for console)
To add autocomplete options to an existing command use...
aowl.SetPrototype({"goto","warp","go"}, "player or location")
To add autocomplete to a command you're making simply add it after all the normal vars.
aowl.AddCommand("test", function(...) print(...) end, "developers", "player")
If the hidechat variable is not a boolean an attempt will be made to add it to the prototypes.
To be safe when adding prototypes add them in the SHARED realm.
Need help with adding these to chat commands, and refining them so that we may have better autocomplete suggestions.
This adds the ability to add autocomplete options to commands in aowl!
Shortcut command "a" also added. (for console)
To add autocomplete options to an existing command use...
aowl.SetPrototype({"goto","warp","go"}, "player or location")
To add autocomplete to a command you're making simply add it after all the normal vars.
aowl.AddCommand("test", function(...) print(...) end, "developers", "player")
If the
hidechat
variable is not a boolean an attempt will be made to add it to the prototypes.To be safe when adding prototypes add them in the SHARED realm.
Need help with adding these to chat commands, and refining them so that we may have better autocomplete suggestions.