ID:146128
 
Code:
mob/verb/ADMIN
Stats(mob/M in world)
set category="Admin"
set name="Boost Stats"
M.Yen+=250
M.atkstr+=10
M.speed+=10
M.exp+=300
M.maxcp+=20
M.maxhealth+=20
M<<"Your statistics have been boosted"
M.Levelup()


Problem description: I am selecting another person but I am getting the Levelup() box, why?

What's in M.Levelup()? An alert() with usr abuse, perhaps?
In response to Jon88
mob
proc
Statup()
src.Save()
start
if(src.points<=0)return
switch(input("Distribute Points","[src.points] Points left",text) in list ("Health","Strength"))
if("Health")
src.maxhealth+= rand(2,3)
src.health=src.maxhealth
if("Strength")
src.atkstr +=rand(3,5)
src.points--
goto start


NO USR ABUSE HERE =P.
In response to Polaruis
omg usr abuse

input() defaults to usr, I believe.

So uh, USR ABUSE¬!!!111
In response to Elation
Yep, so Polaruis would have to do:

switch(input(src,"Blah","Blah"))


Incase Polaruis didn't know what to do =P
In response to Polaruis
Goto abuse senses tingling!
In response to Ol' Yeller
Thank yah guys!
In response to Polaruis
Also fix your goto problem. Just put the code in a do while loop.