void main() { object oPC = GetClickingObject(); if (!GetIsObjectValid(oPC))return; AssignCommand(oPC, PlaySound("whinny")); }