but I'm having trouble with printing something...
I want this to print the current value of loot you have.
that should print "You now have (xx)loot". It does that alright but it have some kind of screwy loop. When you pick up the second stealable item it says "You now have 30 loot You now have 60 loot. " instead of just "You now have 60 loot." it keeps going like that EG: "You now have 30 loot You now have 60 loot You now have 90 loot You now have 120 loot" ect.
HELP
I want this to print the current value of loot you have.
Code:
BinValue = GetInv( player, bin); jkStringClear() jkStringConcatAsciiString("You now have "); jkStringConcatInt(BinValue); jkStringConcatAsciiString(" loot."); jkStringOutput(-3, -1);
that should print "You now have (xx)loot". It does that alright but it have some kind of screwy loop. When you pick up the second stealable item it says "You now have 30 loot You now have 60 loot. " instead of just "You now have 60 loot." it keeps going like that EG: "You now have 30 loot You now have 60 loot You now have 90 loot You now have 120 loot" ect.
HELP
Save a tree, Kill a beaver!