I don't know mel but a wild stab at it would go like this: if (`checkBox -q -v randScale` == 0) { $getScaleMin = 1; $getScaleMax = 1;} EDIT: On second thought though if these variables are strings wouldn't the values need to be enclosed in quotes? like this: if (`checkBox -q -v randScale` == 0) { $getScaleMin = "1";…
Oh it worked! cool. Yeah, $getScaleMin, doesn't really work because it doesn't know what you want to do with the $getScaleMin, since you aren't declaring a new variable like this: int $getScaleMin; or assigning a value to it like: $getScaleMin = 1; or doing both at the same time (which is probably possible) like this: int…
Just a question on syntax for all the MEL experts here, how do you do this properly (first line is correct, i have to declare two strings to be the same value on second line) if (`checkBox -q -v randScale` == 0) $getScaleMin, $getScaleMax = 1; Obviously second line currently fails, just don't know how to do it properly.