/* OnSpawn for the banker CRUCIAL! */ void main() { string sName= GetTag(OBJECT_SELF); object oItem = GetFirstItemInInventory(OBJECT_SELF); location locLocation ; while (GetIsObjectValid(oItem)) { if (GetPlotFlag(oItem)==FALSE) DestroyObject(oItem); oItem =GetNextItemInInventory(OBJECT_SELF); } RetrieveCampaignObject("bnkacnt"+sName,"bnkacnt_"+sName,locLocation,OBJECT_SELF,OBJECT_INVALID); }