Are you talking something like this:
Code:if (playerCommand.equalsIgnoreCase("resetstats")) { try { for (int i = 0; i < 21; i++) { c.playerLevel[i] = c.getPA().getLevelForXP(c.playerXP[i]); c.getPA().refreshSkill(i); c.getPA().requestUpdates(); } c.sendMessage("Success, good code."); } catch (Exception e) { c.sendMessage("Failure, bad code."); } }