Scale problems

Hi what i am trying to do is
I have 3 spinners in my script and 1 button

1 spinner is (X) the other is (Y) and the last one is (Z)

I want to enter a number in the X,Y,Z Spinners for instance 30, 30, 30 and press the button (RB1) and have the merged object scale X-30% Y-30% Z-30%

here is all i achieved

------------------------------

button RB1 images:#("Round.bmp", "ALL.bmp", 1, 1, 1, 1, 1)pos:[17,7] width:39 height:39

spinner spn1 "X " pos:[17,94] width:60 height:16 range:[00,100.0,0.0]
spinner spn2 "Y " pos:[107,94] width:60 height:16 range:[00,100.0,0.0]
spinner spn3 "Z " pos:[207,94] width:60 height:16 range:[00,100.0,0.0]

On RB1 pressed do --Round--

do mergeMAXFILE "DR1mm.MAX"

Thanks in Advance and sorry for my bad English :)