Do you use Lite-C or C-Script?
And what does not work? Do you get a compiler/parser error?

The Manual says:

SOUND* whosh = "whosh.wav";
var whosh_handle;
...
whosh_handle = ent_playloop(my,whosh,100);