add Nam Hom Coconut promotion (not finish yet)
This commit is contained in:
parent
3143147756
commit
32229624f7
56 changed files with 30456 additions and 2329 deletions
47
xml/sometime/nam_hom_coconut_remain_reward.xml
Normal file
47
xml/sometime/nam_hom_coconut_remain_reward.xml
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue