//Created by Guile 3/31/07 //This variable is set on the pc while they are on the module to prevent //them from relooting chest when they open them for socketed items. //whenever a pc opens a chest the chest will check to see if they have //opened any others anytimes soon, if not, they get a 15% chance of getting //a rare socketed item. //Put this script OnEnter of your starting area of the module. void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; SetLocalString(oPC, "nosockeysoon", "1"); }