You have the answer in your own code. Take a look at the code below, and also take a look into the Scripting Index for the Check Box()
Help==>Scripting Index==>>CheckBox
Names Default To Here( 1 );
New Window( "test",
V List Box(
othicb = Check Box( {"MOErA*", "MOErC*", "MOErT*", "MOErG*"} ),
Spacer Box( 25 ),
H List Box(
othia = Check Box(
" ",
<<SetFunction(
If( othia << get( 1 ) == 1,
othicb << Set All( 1, run script( 1 ) ),
othicb << Set All( 0, run script( 1 ) )
)
)
),
Text Box( "Select All Thioated MOE", <<Set Width( 90 ), <<Set Wrap( 90 ) )
)
)
);
Jim