EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Giving level (https://www.eqemulator.org/forums/showthread.php?t=24975)

Valcrist 04-13-2008 01:18 PM

Giving level
 
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

Code:

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!


All times are GMT -4. The time now is 12:21 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.