• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Level 200 Npc

Smoke & Fly
Loyal Member
Joined
Apr 21, 2008
Messages
1,190
Reaction score
76
PHP:
var lups = 200 - cm.getPlayer().getLevel();
for (var i = 0; i < lups; i++)
    cm.getPlayer().levelUp();
cm.sendOk("Level up x#b" + lups + "#k\r\nThat would be #r" + lups*10000000 + " Mesos#k!");
Another way to put it?
 
Last edited:
offonline
Loyal Member
Joined
Aug 5, 2009
Messages
1,403
Reaction score
164
First sec i saw this, i thought about what's wrong with loops ):?
 
Newbie Spellweaver
Joined
May 5, 2009
Messages
24
Reaction score
1
I dont Care Ok??? I can do anything i want -.- Stop Insulting my Scripting Style!
 
Junior Spellweaver
Joined
Nov 12, 2009
Messages
163
Reaction score
7
Kevin, if you want to avoid flaming, then develop your coding skills more before you post on a forum like ragezone.

p.s. this is not a flame
 
offonline
Loyal Member
Joined
Aug 5, 2009
Messages
1,403
Reaction score
164
How is flaming you sucking up to pros? i'm flaming you pure out of personal hate towards you.

<3 Let's say moogra released this, you would be liek :
AWESOME MAN!! this is awesome...poop...:blushing:
 
Newbie Spellweaver
Joined
Nov 23, 2009
Messages
90
Reaction score
18
Why not make a setLevel() function? Easy way to do it, and can be useful for other things.


EDIT: Wow the person above me beat me to it :p
 
Back
Top