Is there anyway I could calculate this in mIRC (using a $calc for example):
If you don't understand that, here it is in JavaScript (this JavaScript loops through minlevel all the way to maxlevel and displays it):
points = 0;
outputnum = 0;
minlevel = 2; // first level to display
maxlevel = 500; // last level to display
for (lvl = 1; lvl <= maxlevel; outputnum = Math.floor(points / 4), lvl++) {
diff = Math.floor(lvl + 300 * Math.pow(2, lvl / 7));
points += diff;
if (lvl >= minlevel) {
document.writeln('Level ' + (lvl) + ' - ' + outputnum + ' xp');
}
}
And here it is in Python:
points = 0
diff = int(level + 300 * math.pow(2, float(level)/7) )
points += diff
str = "Level %d = %d" % (level + 1, points / 4)
print str
Please help.