15 lines
390 B
Plaintext
15 lines
390 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult = TRUE;
|
|
object oPC = GetPCSpeaker();
|
|
int iNow = (GetCalendarMonth()*1000) + (GetCalendarDay()*100) + GetTimeHour();
|
|
int iLast = GetLocalInt(oPC,"ASG_RESEARCHAGAININ");
|
|
if (iNow>iLast-1) iResult = FALSE;
|
|
else
|
|
{
|
|
int iDif = iLast - iNow;
|
|
SetCustomToken(1970001,IntToString(iDif));
|
|
}
|
|
return iResult;
|
|
}
|