!writeini -n $+(",%dir2,money.ini") balance $mta.name($1,$2) $calc($readini(%dir2 $+ money.ini,balance,$mta.name($1,$2))-$calc(($4)($+ $readini(%dir2 $+ painkillers.ini,main,painkillers) $+)))}
it's supposed to take your balance (ie 100) and subtract a number a player enters (ie 5) multiplied by the price of something (ie 10 each)
when i try it it works, but it doesnt multiply the price times the number purchased...
sooo say my balance is 100, the cost of 1 is 5, and i buy 3...
as a result it will only subtract 3 from my balance instead of 15...
help