From 5df6abeb5a2c37341cf86070b8967d03d272fda6 Mon Sep 17 00:00:00 2001 From: Kenta420 Date: Mon, 16 Oct 2023 17:50:32 +0700 Subject: [PATCH] remove inter from script --- video/script1.ev | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/video/script1.ev b/video/script1.ev index 694647e2..cf27ada3 100644 --- a/video/script1.ev +++ b/video/script1.ev @@ -1,29 +1,19 @@ Var MainfileSize = 0 DEBUGVAR BoxID -If CountryName = "Thailand" Then - - -EndIf - - -If CountryName = "Malaysia" Then - Var EventTurnOn = 0 -Else - If SystemDateMonthInt = 10 Then - GetFileSizeK "taobin_project/video/main_page_event.mp4" MainfileSize - DEBUGVAR MainfileSize - If MainfileSize = 10520161 Then - - Var EventTurnOn = 1 - EndIf - EndIf - - - If EventTurnOn = 1 Then - Var CountDownShowButton = 0 - Var ShowButtonClickFull = "Invisible" - Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4" +If SystemDateMonthInt = 10 Then + GetFileSizeK "taobin_project/video/main_page_event.mp4" MainfileSize + DEBUGVAR MainfileSize + If MainfileSize = 10520161 Then + + Var EventTurnOn = 1 EndIf EndIf + + +If EventTurnOn = 1 Then + Var CountDownShowButton = 0 + Var ShowButtonClickFull = "Invisible" + Var VideoMainPage = "ROOT/taobin_project/video/main_page_event.mp4" +EndIf