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
ID:270614
![]() Jul 7 2006, 5:52 pm
|
|
can you rewrite it so it asks how much points you want to use please?
|
![]() Jul 7 2006, 7:45 pm (Edited on Jul 12 2006, 3:02 am)
|
|
You guys should be learning off of this instead of copying it directly from the forums. No one can "tell you how to tab it," unless they want to sit there and tell you how many tabs for each line. Think about how many tabs he used in each line.. Also if you knew anything at all about DM you'd know how to tab it. :\
-Exophus |
please can someone me kind enough to tell me how to tab i will just test to make sure that format works then use my own please
|
just this once I will show you how many tabs it has
0>mob |
wow thanks your so kind but i can't figure out where i put that in this
mob/proc/GIVEXP() |
just a small Q, if you coded all of that how are you not able to work out the tabs |