static void Main(string[] args) { StartCommands(); Console.WriteLine("Enter your name: "); string a = Console.ReadLine(); EnterNickname(a); string cmd = Console.ReadLine(); GameInterface.GameInterfaceCommands(cmd); GameView.GameViewCommands(cmd); MouseSettings.MouseSettingsCommands(cmd); Bot.BotCommands(cmd); Cheat.CheatCommands(cmd); Launch.LaunchCommands(cmd); Console.WriteLine("Do you want to continue?"); string b = Console.ReadLine(); if (b == "n") { Console.WriteLine("Youre all set."); } while (b == "y") { EnterNickname(a); string cmd2 = Console.ReadLine(); GameInterface.GameInterfaceCommands(cmd2); GameView.GameViewCommands(cmd2); MouseSettings.MouseSettingsCommands(cmd2); Bot.BotCommands(cmd2); Cheat.CheatCommands(cmd2); Launch.LaunchCommands(cmd2); } }
public static void Entercommand(string cmd) { Console.WriteLine("Enter which commands do you want:"); string ec2 = Console.ReadLine(); if (ec2 == "MouseSettings") { Console.WriteLine("Enter a command:"); MouseSettings.MouseSettingsCommands(cmd); } else if (ec2 == "MouseSettings") { Console.WriteLine("Enter a command:"); MouseSettings.MouseSettingsCommands(cmd); } else if (ec2 == "Launch") { Console.WriteLine("Enter a command:"); Launch.LaunchCommands(cmd); } else if (ec2 == "GameView") { Console.WriteLine("Enter a command:"); GameView.GameViewCommands(cmd); } else if (ec2 == "GameInterface") { Console.WriteLine("Enter a command:"); GameInterface.GameInterfaceCommands(cmd); } else if (ec2 == "Cheat") { Console.WriteLine("Enter a command:"); Cheat.CheatCommands(cmd); } else if (ec2 == "Bot") { Console.WriteLine("Enter a command:"); Bot.BotCommands(cmd); } }