aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/TerminalAPI.cs
diff options
context:
space:
mode:
authorTheEdgeNK <trey6979@gmail.com>2018-09-01 01:27:41 -0400
committerTheEdgeNK <trey6979@gmail.com>2018-09-01 01:27:41 -0400
commit269f6d0f4cbf556da4e4154143aa85fbf0448429 (patch)
treee73ea6f5189fb91fe67ae23648ed5a23a4e93110 /PortEngine/TerminalAPI.cs
parentfb69cc80fc9e22549915f2a0905323f145e23374 (diff)
downloadProject-Silicon-269f6d0f4cbf556da4e4154143aa85fbf0448429.tar.gz
Project-Silicon-269f6d0f4cbf556da4e4154143aa85fbf0448429.tar.bz2
Project-Silicon-269f6d0f4cbf556da4e4154143aa85fbf0448429.zip
hybrid config mode // removed feature
Diffstat (limited to 'PortEngine/TerminalAPI.cs')
-rw-r--r--PortEngine/TerminalAPI.cs12
1 files changed, 2 insertions, 10 deletions
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;
}