public String processInputMessage(String message) {
		/**
		 * Firstly: check to see if the message was a command: 
		 */

		if(message.charAt(0) == '/') {
			System.out.println("Client has issued a command!");

			/*
			 * Handle any arguments provided, splitting into strings
			 * at spaces - all added into an array.
			 * 
			 * For example:
			 * 
			 * arguments[0] = /command
			 * arguments[1] = first argument
			 * 
			 * etc, etc.
			 */

			String arguments[] = message.split(" "); // Split into separate strings. Each string is an argument.

			// Cycle through commands we know about:
			switch(arguments[0]) {
			case "/connect":
				return connectToServer(4313,arguments[1]);
			case "/name":
				player._setName(arguments[1]);
				break;
			case "/login":
				return loginPlayerToServer(player._getName(),Integer.toString(player._getX()),Integer.toString(player._getY()));
			case "/list":
				return listPlayerNames();
			}
		} else {
			postMessageToServer(message);
		}
		return "NULL";
	}