mob/PC/verb/Prestitge()
set category = "Training"
switch(alert("Prestige Doubles Your stats!","Prestige 500,000","Yes","No"))
if("Yes")
if(src.level < 500000)
alert("You Have To Be Level 500,000 To Prestige!")
else
src.powerlevel_max * 2
src.ki_max * 2
src.strength_max * 2
src.defence_max * 2
src.speed_max * 2
src.fatigue_max * 2
src.level = 1
src.mode = 1
src.rank = "Newbie"
usr<< "You Prestiged to level [plvl]!"
if("No")
return
Problem description:
i get an error on the first alert
If I had to take a guess, it's because you're tabbing everything under set category, which is incorrect.