Loki explained how to define sounds, but missed out the randomness and that an AI had to speak (say), rather than the sound just be played to the player (playsound: played directly without coming from a set position). Assuming you'd named your OPFOR soldier opfor1 and defined three sounds as Loki described (in the example, talk1, talk2 and talk3 classes):
opfor1 say (["talk1", "talk2", "talk3"] select (floor (random 3)));