add Nam Hom Coconut promotion (not finish yet)

This commit is contained in:
Kenta420 2024-05-15 13:05:23 +07:00
parent 3143147756
commit 32229624f7
56 changed files with 30456 additions and 2329 deletions

View file

@ -0,0 +1,47 @@
<Popup>
<Width> 1080 </Width>
<Height> 846 </Height>
<Background> "0xFF0000" </Background>
<EventOpen>
Var GettingData = 0
Var dummyPhone = "0899999999"
If LastPullingTimeMinutes = "" Then
Var LastPullingTimeMinutes = 0
EndIf
</EventOpen>
<EventActionOk>
</EventActionOk>
<Timeout> 1000 </Timeout>
<EventTimeout>
DEBUGVAR SystemTimeMinuteInt
DEBUGVAR LastPullingTimeMinutes
Var PullingTimeDiff = LastPullingTimeMinutes - SystemTimeMinuteInt
DEBUGVAR PullingTimeDiff
If PullingTimeDiff >= 10 Then
If GettingData = 0 Then
GETACCEXT dummyPhone 34
Var GettingData = 1
EndIf
Else
If PullingTimeDiff <= -10 Then
If GettingData = 0 Then
GETACCEXT dummyPhone 34
Var GettingData = 1
EndIf
EndIf
EndIf
Refresh
TimerReset
</EventTimeout>
</Popup>