public static void saveSlot(String hostname, String[] words) {
		if (words.length > 2) {
			String hostmessage = Functions.implode(Arrays.copyOfRange(words, 2, words.length), " ");
			if ((words.length > 2) && (Functions.isNumeric(words[1]))) {
				int slot = Integer.parseInt(words[1]);
				if (slot > 0 && slot < 11) {
					try (Connection con = getConnection()) {
							String query = "SELECT `slot` FROM " + mysql_db + ".`save` WHERE `slot` = ? && `username` = ?";
							PreparedStatement pst = con.prepareStatement(query);
							pst.setInt(1, slot);
							pst.setString(2, Functions.getUserName(hostname));
							ResultSet rs = pst.executeQuery();
							boolean empty = true;
							while (rs.next())
								empty = false;
							if (empty)
								query = "INSERT INTO " + mysql_db + ".`save` (`serverstring`, `slot`, `username`) VALUES (?, ?, ?)";
							else
								query = "UPDATE " + mysql_db + ".`save` SET `serverstring` = ? WHERE `slot` = ? && `username` = ?";
							pst = con.prepareStatement(query);
							pst.setString(1, hostmessage);
							pst.setInt(2, slot);
							pst.setString(3, Functions.getUserName(hostname));
							pst.executeUpdate();
							rs.close();
							bot.sendMessage(bot.cfg_data.irc_channel, "Successfully updated save list.");
						}
					catch (SQLException e) {
						logMessage(LOGLEVEL_IMPORTANT, "SQL Error in 'saveSlot()'");
						e.printStackTrace();
					}
				}
				else
					bot.sendMessage(bot.cfg_data.irc_channel, "You may only specify slot 1 to 10.");
			}
		}
		else
			bot.sendMessage(bot.cfg_data.irc_channel, "Incorrect syntax! Correct usage is .save 1-10 <host_message>");
	}