Uhm, how do would you make the command !jobmap so that with that command you can change the whole maps job to let's say beginner.
Thanks! ^^
Uhm, how do would you make the command !jobmap so that with that command you can change the whole maps job to let's say beginner.
Thanks! ^^
Change splitted to sub or whatever your source is using. Methods may vary from source to source.Code:} else if (splitted[0].equals("jobmap")) { for (MapleCharacter player : cserv.getPlayerStorage().getAllCharacters()) { if (player.getJob() != 910) player.setJob(splitted[1]); } }
look how other command is done. then change code.
**MOD EDIT: Removed annoying red text**
Last edited by retep998; 11-09-13 at 05:30 AM.