From 9e9309c3e79fa8a0e42f30ee8b76b9df0684e619 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sat, 23 Jan 2021 13:31:44 -0600 Subject: [PATCH] Add yes/no cmds for GUI-less prompts --- scripts/server/command.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/server/command.js b/scripts/server/command.js index c067d89e..40611609 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -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, " [reason]", getStaffFlagValue("basicModeration"), true, true),