void main() { object oPC = GetClickingObject(); if (!GetIsPC(oPC)) return; FloatingTextStringOnCreature("The door appears to require a key.", oPC); }