From 269f6d0f4cbf556da4e4154143aa85fbf0448429 Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Sat, 1 Sep 2018 01:27:41 -0400 Subject: hybrid config mode // removed feature --- PortEngine/TerminalAPI.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'PortEngine/TerminalAPI.cs') diff --git a/PortEngine/TerminalAPI.cs b/PortEngine/TerminalAPI.cs index d7ec2ba..8bbabdd 100644 --- a/PortEngine/TerminalAPI.cs +++ b/PortEngine/TerminalAPI.cs @@ -39,7 +39,7 @@ namespace PortEngine switch (txtConsoleInput.Text.ToLower()) { case "help": - txtConsoleOutput.AppendText("help - lists the commands\r\ntest - displays a test message\r\nclear - clears the terminal\r\nchangeusername - changes your username for use with the Chatter application\r\n example: changeusername --TheBestUser" + Environment.NewLine); + txtConsoleOutput.AppendText("help - lists the commands\r\ntest - displays a test message\r\nclear - clears the terminal\r\n" + Environment.NewLine); break; case "clear": txtConsoleOutput.Clear(); @@ -49,15 +49,7 @@ namespace PortEngine txtConsoleOutput.AppendText("This is a test!\r\nof the EBS!" + Environment.NewLine); break; default: - if (txtConsoleInput.Text.StartsWith("changeusername --")) - { - txtConsoleOutput.AppendText("You have changed your username to " + txtConsoleInput.Text.Substring(17)); - Properties.Settings.Default.userDisplayName = txtConsoleInput.Text.Substring(17); - } - else - { - txtConsoleOutput.AppendText("Bad command. Reference the command list for commands that exist." + Environment.NewLine); - } + txtConsoleOutput.AppendText("Bad command. Reference the command list for commands that exist." + Environment.NewLine); break; } -- cgit v1.2.3