void main() { location lHere = GetLocation(OBJECT_SELF); object oStore = GetObjectByTag("gemstore"); if (oStore==OBJECT_INVALID) CreateObject(OBJECT_TYPE_STORE,"gemstore",lHere); }