;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@T4Start]
{
#ACT
ReadValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBNAME,FLD_JOBCONDITION" [@T4Start_0]

[@T4Start_0()]
#ACT
mov B1 %ARG(1)
mov B2 %ARG(2)

#IF
Equal B1 "T4"
Equal B2 "Start"
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg0]
LineMsg Grobal %A7
DelayGoto [Grobal] 12 @setT4_1
break
#ELSEACT
break

[@setT4_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg1]
EventMsg Grobal %A7 10081
DelayGoto [Grobal] 12 @setT4_2

[@setT4_2]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg2]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT4_3

[@setT4_3]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg3]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_3_1

[@setT4_3_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg4]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_4

[@setT4_4]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg5]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_4_1

[@setT4_4_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg6]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_5

[@setT4_5]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg7]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_6

[@setT4_6]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg8]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_7

[@setT4_7]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg9]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_7_1

[@setT4_7_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg10]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_8

[@setT4_8]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg11]
EventMsg Grobal %A7 10821
DelayGoto [Grobal] 12 @setT4_8_1

[@setT4_8_1]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg12]
EventMsg Grobal %A7 10081
DelayGoto [Grobal] 12 @setT4_9

[@setT4_9]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg13]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT4_10

[@setT4_10]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg14]
EventMsg Grobal %A7 10008
DelayGoto [Grobal] 12 @setT4_11

[@setT4_11]
#ACT
LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg15]
EventMsg Grobal %A7 10005
DelayGoto [Grobal] 12 @setT4_12

[@setT4_12]
#ACT

LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg16]
EventMsg Grobal %A7
DelayGoto [Grobal] 12 @setT4_13

[@setT4_13]
#ACT

LoadValue A7 [Convert_Def\QuestDiary\Judgement\Story\T4\T4.txt] [Convert] [Msg17]
EventMsg Grobal %A7
UpdateValueSql "TBL_JobServerMain" "FLD_JOB='JOBSTORY'" "FLD_JOBCONDITION='End'"
}
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;