void main() { object oDM = GetLastSpeaker(); switch (Random(7)) { case 0: AssignCommand ( oDM, PlaySound("as_wt_thundercl1")); break; case 1: AssignCommand ( oDM, PlaySound("as_wt_thundercl2")); break; case 2: AssignCommand ( oDM, PlaySound("as_wt_thundercl3")); break; case 3: AssignCommand ( oDM, PlaySound("as_wt_thundercl4")); break; case 4: AssignCommand ( oDM, PlaySound("as_wt_thunderds1")); break; case 5: AssignCommand( oDM, PlaySound("as_wt_thunderds2")); break; case 6: AssignCommand( oDM, PlaySound("as_wt_thunderds3")); break; } }