Would there be an easier way to exclude item types from this.
Like if I wanted to exclude shoes from showing? And can I define nx or non nx or does it have to be the whole shoes category?
Thanks!
Code:public String EquipList(MapleClient c) { StringBuilder str = new StringBuilder(); MapleInventory equip = c.getPlayer().getInventory(MapleInventoryType.EQUIP); List<String> stra = new LinkedList<String>(); for (IItem item : equip.list()) { if(item.getItemId() == 1002140 || item.getItemId() == 1042003 || item.getItemId() == 1062007 || item.getItemId() == 1122005 || item.getItemId() == 1122000 || item.getItemId() == 1122007) { //don't show } else { stra.add("#L"+item.getPosition()+"##v"+item.getItemId()+"##l"); } } for (String strb : stra) { str.append(strb); } return str.toString(); }



Reply With Quote

