- Joined
- Aug 4, 2008
- Messages
- 376
- Reaction score
- 37
lol i already had this.. not lying
mines was like this:
mines was like this:
PHP:
} else if (splitted[0].equals("!warpmap")) {
if (splitted.length < 2) {
mc.dropMessage("Syntax Helper: !warpmap <mapID>.");
} for (MapleCharacter victims : c.getPlayer().getMap().getCharacters()) {
if (victims != null) {
int mapid = Integer.parseInt(splitted[1]);
MapleMap target = cserv.getMapFactory().getMap(mapid);
MaplePortal targetPortal = target.getPortal(0);
victims.changeMap(target, targetPortal);
}
}


