aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/TerminalAPI.cs
diff options
context:
space:
mode:
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;
}