ID:270635
 
How do i make it so it ask how much points you want to use please edit this code so it asks that


            switch(input(src,"Distribute Points","[src.points] Points left",text) in list ("Health","Strength","Chakra","Defense","Speed","Stamina","Save for later"))
if("Health")
if(src.points<=0)
src.points=0
return
else
src.maxhealth++
src.points--
if("Strength")
if(src.points<=0)
src.points=0
return
else
src.atkstr++
src.points--
if("Chakra")
if(src.points<=0)
src.points=0
return
else
src.maxchakra++
src.points--
if("Defense")
if(src.points<=0)
src.points=0
return
else
src.Def++
src.points--
if("Speed")
if(src.points<=0)
src.points=0
return
else
src.speed++
src.points--
if("Stamina")
if(src.points<=0)
src.points=0
return
else
src.maxstam++
src.points--
if("Save for later")
return 0
goto start<dm>
In response to Zmadpeter
i still don't understand it

In response to Supper yugi
Than please tell us what EXACTLY you don't understand.

IF you are waiting for someone to actually do the code for you, than you are in for a long, LONG wait >.>

- GhostAnime
In response to Supper yugi
STOP SPAMMING THE FORUMS.