//This script may be cut-and-pasted directly into your //OnClientEnter script (module-level event) //You may also cut-and-paste lines 10-14 into any script //which uses 'oPC' to identify the player character void main() { object oPC = GetEnteringObject(); //Get the PC entering the module //Test to see if PC has a skill book.. if not, then create one. if (GetItemPossessedBy(oPC,"NoDrop_SkillLogBook")==OBJECT_INVALID) { CreateItemOnObject("skilllogbook",oPC,1); } //Delete persistent hooks which need to be 'gone' to begin with //**this added due to HoTU effects on servervault characters DeleteLocalInt(oPC,"iSkillGain"); DeleteLocalInt(oPC,"iPCUsedMap"); DeleteLocalInt(oPC,"iAmFollowingMap"); DeleteLocalInt(oPC,"iAmDiggingMap"); DeleteLocalInt(oPC,"iAmFishing"); DeleteLocalInt(oPC,"iCancelFishing"); DeleteLocalInt(oPC,"iAmInField"); DeleteLocalInt(oPC,"iAmInWaterField"); DeleteLocalInt(oPC,"iAmInCommodityArea"); DeleteLocalString(oPC,"sKillMe"); DeleteLocalInt(oPC,"iAmDigging"); DeleteLocalLocation(oPC,"lIWasHere"); }