function onCreated() for (temp.i = 1; temp.i <= 10; temp.i++) this.checkEXP(temp.i); function checkEXP(playerLevel) { temp.currentFormule = int(((temp.playerLevel ^ 2) / 70) * 100) ^ 2; echo("Level: "@ temp.playerLevel @": "@ temp.currentFormule @"exp"); }