int StartingConditional() { object oPC = GetPCSpeaker(); int nBet = GetLocalInt(OBJECT_SELF, "BET"); if (GetGold(oPC) < nBet) return FALSE; if (Random(2) == 0) { TakeGoldFromCreature(nBet, oPC, TRUE); SetLocalInt(OBJECT_SELF, "POT", nBet); return TRUE; } return FALSE; }