LevelUp(mob/player/M in world)
set category = "GameMod"
var/Levels= input("How many Levels?")as num
while (Levels>=1)
if(istype(M,/mob/player))
M.Exp+=(M.Nexp-M.Exp)
LevelUp(M)
Levels --
Problem description:
my problem is... after I try to type in a number, I won't gain a level. The menu just keeps on popping back up again. And won't go away. This verb is to give level ups to me the admin and players in the game.