Code: Select all
itemPrice = 7,4,0,-12,25,255,25,${If[${Cursor.ID},${Float[${Math.Calc[${Cursor.Value}\1000]}].Int}pp ${Float[${Math.Calc[(${Cursor.Value}-(1000*(${Cursor.Value}\1000)))\100]}].Int}gp ${Float[${Math.Calc[((${Cursor.Value}-(1000*(${Cursor.Value}\1000))) - (100*((${Cursor.Value}-(1000*(${Cursor.Value}\1000)))\100)))\10]}].Int}sp ${Float[${Math.Calc[((${Cursor.Value}-(1000*(${Cursor.Value}\1000))) - (100*((${Cursor.Value}-(1000*(${Cursor.Value}\1000)))\100)))-(10*(((${Cursor.Value}-(1000*(${Cursor.Value}\1000))) - (100*((${Cursor.Value}-(1000*(${Cursor.Value}\1000)))\100)))\10)]}].Int}cp,]}
and it works, but i was wondering if there is a better way, and also if possible to have the text outlined without repeating the line 5 times and offsetting the 4 others.

