PDA

View Full Version : Giving level


Valcrist
04-13-2008, 01:18 PM
I have made a mob that you turn in an item, you get a level
I know quest::level will set their level, is there a script that will give a level instead of having to see if they're lvl1 and give them level2 and putting in all that coding.

AndMetal
04-13-2008, 02:08 PM
quest::level($ulevel+1)

That will set the player's level to their current level (defined as $ulevel) + 1.

Valcrist
04-13-2008, 02:12 PM
Ah, thanks, appreciated!