It's serverside too... I'm using it as we speak
HTML Code:
function onActionDisplayStats() {
temp.i = "#i(classic_bowlingpin_2.png)";
temp.txt = "\n " @ i SPC "Lane" SPC this.alleynum SPC "Scores" SPC i @ "\n\n";
temp.players = this.onGetList();
for (temp.p: temp.players) {
temp.p = findPlayer(p);
if (p.level.name != this.level.name) continue;
temp.score = this.("score_" @ p.account);
temp.txt @= "#i(" @ p.headimg @ ", 0, 64, 32, 32)" SPC p.nick.substring(0, 25) @ "\n";
temp.c = temp.score.tokenize();
for (temp.i: temp.c) {
temp.ind = c.index(i);
temp.txt @= " " @ i @ ",";
if (ind == 5) temp.txt @= "\n";
}
temp.txt = txt.substring(0, txt.length() - 1) @ "\n";
}
player.say2(temp.txt);
}