if (temp2[1].equalsIgnoreCase("tv-xvid")) { outMsgChan(bot, channel, "in tv-xvid, array [0] = " + temp2[0] + " array [1] = " + temp2[1] + " array [2] = " + temp2[2]); if (temp2.length != 3) { outMsgChan(bot, channel, Colors.CYAN + ",01:( " + Colors.WHITE + Colors.BOLD + sender + Colors.BOLD + Colors.CYAN + " ) " + Colors.DARK_GRAY + "Error" + Colors.CYAN + ":(" + Colors.LIGHT_GRAY + "Please supply either a " + Colors.RED + "0 " + Colors.LIGHT_GRAY + "or a " + Colors.GREEN + "1 " + Colors.LIGHT_GRAY + "to Disable or Enable Category" + Colors.CYAN + "): checking its only got a 0 1, no other words"); return; } if (!temp2[2].equals(0) || !temp2[2].equals((1))) { outMsgChan(bot, channel, Colors.CYAN + ",01:( " + Colors.WHITE + Colors.BOLD + sender + Colors.BOLD + Colors.CYAN + " ) " + Colors.DARK_GRAY + "Error" + Colors.CYAN + ":(" + Colors.LIGHT_GRAY + "Please supply either a " + Colors.RED + "0 " + Colors.LIGHT_GRAY + "or a " + Colors.GREEN + "1 " + Colors.LIGHT_GRAY + "to Disable or Enable Category" + Colors.CYAN + "): checking 0 or 1"); return; } outMsgChan(bot, channel, "continue"); }