HTML Code:
for (temp.curPlayer: allplayers)
{
if (!temp.curPlayer.account)
{
continue;
}
makevar("this.curV" @ temp.curPlayer.graalversion) += 1;
}
for (temp.curVersion: getstringkeys("this.curV"))
{
echo(temp.curVersion);
this.informOthers("Version:" SPC temp.curVersion @ "," SPC this.("curV" @ temp.curVersion));
}
returns:
Quote:
V2
Classic (Server): Version: V2,
V4
Classic (Server): Version: V4,
|
However, the flags from the database return:
However, I decided to make the graal version an integer which fixed this problem, however if the graal version is greater than 0.6, it would equal to 1... :s