Something like this will strip the 3s from 3132333435363738 and write to the variable X1 -X2 so on, 1,2,3,4,5,6,7,8

Might help you figure out what is going wrong. ?
Code:
[WAIT("A"),STR NUMS\16]	

X1 = (NUMS[1]-"0")

X2 = (NUMS[3]-"0")

X3 = (NUMS[5]-"0")

X4 = (NUMS[7]-"0")

X5 = (NUMS[9]-"0")

X6 = (NUMS[11]-"0")

X7 = (NUMS[13]-"0")

X8 = (NUMS[15]-"0")