if (token.equals("showpacket")){ showpacket = Boolean.parseBoolean(token3[0]); } if (token.equals("Config1")) { setButton(Integer.parseInt(token3[0]),Integer.parseInt(token3[1])); } if (token.equals("Config2")) { setSidebarInterface(Integer.parseInt(token3[0]), Integer.parseInt(token3[1])); } if (token.equals("PSkills")) { for(int i=0; i 0){ getQstReward(R, I, A); } else{printTo("Msg Your inventory is to full to hold anything more."); } } if (token.equals("CamReset") && token3[0].equals("True")){ resetCamera(); } if (token.equals("Follow")){ CameraFollow(token3[0], Integer.parseInt(token3[1]), Integer.parseInt(token3[2]), Integer.parseInt(token3[3])); } if(token.equals("Item")){ String c = playerCommand; int i = 0; int a = 0; boolean add = true; if(playerCommand.startsWith(token3[0]) || playerCommand.startsWith(token3[1])){ i = Integer.parseInt(token3[2]); a = Integer.parseInt(token3[3]); if(playerCommand.endsWith(" note")){ if(token3[4].equals("True")){ i = Integer.parseInt(token3[5]); if(a == 1){a += 999;} }else{printTo("Msg This item has no listed note form or can't be shown as a note."); add = false;} } if(add){ addItem(i, a); printTo("Msg [Spawned Item]=["+GetItemName(i)+"]"); } } }