//Script Name: reward_unlocker ////////////////////////////////////////// //Created By: Genisys (Guile) //Created On: 8/19/08 ///////////////////////////////////////// /* Basically this rewards whoever unlocks the door, for unitlizing thier skills, It's nice to get a reward for using skills! Even if it was a spell! */ //////////////////////////////////////// void main() { object oPC = GetLastUnlocked(); if(GetIsPC(oPC)) { GiveXPToCreature(oPC, 30); //After 3 minutes set the lock on the door again.. DelayCommand(180.0, SetLocked(OBJECT_SELF, TRUE)); } }