Board Thread:Questions and Answers/@comment-24215177-20140210011227

Alright, I am Almost ready to put up an Alpha for paizo's Path Finder rpg, Charator creator, but for what i want to do latter on (add text and a hp tracker) I will need to condense some of the codes, so the main one is the attibute points to bonus points lines. there are about 20 lines of codes and if i can link the codes togather i hope i can knock it down to atleast 5 to 10 lines so her is a line of code for stanth.

str=10

(there is a few lines of code that i left out that allows point barrowing, that i skiped)

if str==9 then sb=(-1)

if str==10 then sb=0

locate 0,0;print "str=" ;str "   " :sb

so if you run this yes it will say "str=10 0" but can you some how change it so multibule strings can use the bonus codes

(yes this dosn't work, if you do this it just keeps adding to its self )

if x==9 then the xb=(-1)

sb=x

db=x

( I wrote this the best i can right now, but my dislexia is acting up, if you can't read this and it bothers you, keep it to your-self) 