PWE_PRC8/_module/nss/sc_ref_if_wait.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

24 lines
709 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName sc_ref_if_wait
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 19/07/2002 10:59:48 PM
//:://////////////////////////////////////////////
#include "sc_dart_include"
int StartingConditional()
{
// If the game initiator is speaking
object db = GetNearestObjectByTag(DARTS_BOARD);
SetCustomToken(1001, IntToString(GetLocalInt(db,"wager")));
if(GetLocalInt(db, WAITING_FOR_CONTESTANT) == 1 &&
GetLocalObject(db, CONTESTANT1) == GetPCSpeaker())
{
return TRUE;
//return FALSE;
}
return FALSE;
}