/* tp_cond_custom * created by Glendale Nights * mofified by dluan on jan 2003 */ int StartingConditional() { int nCount = GetLocalInt(OBJECT_SELF, "TP_ITEM"); if (nCount) { SetLocalInt(OBJECT_SELF, "TP_ITEM", --nCount); return TRUE; } return FALSE; }