although, since you're only wanting to find a specific player I wouldn't use
players/allplayers...
HTML Code:
//pars = [0-action]
if (temp.action == "summon") {
findPlayer(params.substring(temp.action.length() + 1)).setlevel2(player.level.name, player.x, player.y);
}
oh, just re-read my bad
HTML Code:
if (temp.action == "summon") {
for (temp.i: players) {
temp.i.setlevel2(player.level.name, player.x, player.y);
}
}
this will cause everyone in your level to be warped to that position