void main() { object oPC = GetEnteringObject(); if(GetIsSkillSuccessful(oPC,SKILL_SEARCH,30) == TRUE) { PlayVoiceChat(VOICE_CHAT_STOP,oPC); FloatingTextStringOnCreature("You immediately notice that there is a TRAP in this small room!",oPC); } }