void main() { object oCloak = GetObjectByTag("MedusasShawl"); if(GetLocalInt(OBJECT_SELF, "CloakTaken") != 1 && GetItemPossessor(oCloak) != OBJECT_SELF) { SetLocalInt(OBJECT_SELF, "CloakTaken", 1); CreateItemOnObject("MedusasShawl", OBJECT_SELF, 6); DelayCommand(300.0, SetLocalInt(OBJECT_SELF, "CloakTaken", 0)); } }