public static void Direct_to_AI(String input) throws IOException, InterruptedException
	{
		input = input.replace(";;", "");
		
		if (input.startsWith("echo "))
		{
			input = input.replace("echo ", "");
			say(input, true);
		}
		
		if (input.startsWith("clear"))
		{
			say("clearing", true);
			clearConsole();
		}
		
		if (input.startsWith("audio"))
		{
			input = input.replace("audio", "");
			
			if (input.contains("on")) {
				Properties_Utils.set_prop("use_audio", "yes");
			} else {
				Properties_Utils.set_prop("use_audio", "no");
			}
		}
		
		if (input.equals("exit")) {
			say("Are you sure ", false);
			String yes_or_no = Main.input.nextLine().toLowerCase();
			if (yes_or_no.contains("yes") || yes_or_no.contains("y")) {
			say("Goodbye", true);
			System.exit(0);
			}
		}
		
		if (input.equals("rmprop")) {
			say("Name of property ", false);
			String name = Main.input.nextLine();
			Properties_Utils.rm_prop(name);
			say("Property removed.", true);
		}
		
		if (input.equals("setprop")) {
			say("Name of property ", false);
			String name = Main.input.nextLine();
			say("Property value ", false);
			String value = Main.input.nextLine();
			Properties_Utils.set_prop(name, value);
			say("Property set.", true);
		}
		
		if (input.equals("motd")) {
			say(Readfromserver.motd(), true);
		}
		
		if (input.startsWith("propout ")) {
			input = input.replace("propout ", "");
			say(Properties_Utils.get_prop(input), true);
		}
		
		if (input.startsWith("first_name="))
		{
			input = input.replace("first_name=", "");
			Properties_Utils.set_prop("first_name", input);
		}
		
		if (input.startsWith("last_name="))
		{
			input = input.replace("last_name=", "");
			Properties_Utils.set_prop("last_name", input);
		}
		
		if (input.startsWith("place="))
		{
			input = input.replace("place=", "");
			input.trim();
			Properties_Utils.set_prop("place", input);
			Properties_Utils.set_prop("place_confirmed", "true");
		}
		
		if (input.contains("time"))
		{
			if (input.contains("-12"))
			{
				say(Utils.get_12hr_time (), true);	
			} else {
				say(Utils.get_time(), true);
			}
		}
		
		if (input.equals("reinstall"))
		{
			try {
				Procedure.install();
				Procedure.welcome();
				proc_mode = true;
				AI_Proc ();
			} catch (IOException | InterruptedException e) {
				error("install");
			}
		}
	}