ActivatorSound
From ZDoom Wiki
void ActivatorSound(str sound, int volume);
Plays a sound from whoever activated the script (be it a monster, the player or projectile). volume is an integer range from 0 to 127, with 127 being full volume and 0 being muted.
Example
script 4 (void) {
ActivatorSound("misc/i_pkup",127);
print(s:"Sounds like you got something!");
}