Add yes/no cmds for GUI-less prompts

This commit is contained in:
Vortrex
2021-01-23 13:31:44 -06:00
parent 32bfb56048
commit 9e9309c3e7

View File

@@ -252,6 +252,8 @@ function loadCommands() {
commandData("exit", enterExitPropertyCommand, "", getStaffFlagValue("none"), true, false),
commandData("cursor", toggleMouseCursorCommand, "", getStaffFlagValue("none"), true, false),
commandData("mousecam", toggleMouseCameraCommand, "", getStaffFlagValue("none"), true, false),
commandData("yes", playerPromptAnswerYesCommand, "", getStaffFlagValue("none"), true, false),
commandData("no", playerPromptAnswerNoCommand, "", getStaffFlagValue("none"), true, false),
],
moderation: [
commandData("kick", kickClientCommand, "<player name/id> [reason]", getStaffFlagValue("basicModeration"), true, true),