//Script Name: barred_message ////////////////////////////////////////// //Created By: Genisys (Guile) //Created On: 8/19/08 ///////////////////////////////////////// /* This is for doors that are not meant to be opened by the PC. */ //////////////////////////////////////// //This script goes in the OnFailToOpen Event void main() { object oPC = GetClickingObject(); if (!GetIsPC(oPC)) return; int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF)); if (DoOnce==TRUE) return; SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE); ActionSpeakString("This door is barred from the otherside and is not openable."); }