[@ˢ]
{
#IF
checknamelist ..\QuestDiary\\1.txt
#ACT
GOTO @jianc1
BREAK
#IF
checknamelist ..\QuestDiary\\2.txt
#ACT
GOTO @jianc2
BREAK
#IF
checknamelist ..\QuestDiary\\3.txt
#ACT
GOTO @jianc3
BREAK
#IF
checknamelist ..\QuestDiary\\4.txt
#ACT
GOTO @jianc4
BREAK
#IF
checknamelist ..\QuestDiary\\5.txt
#ACT
GOTO @jianc5
BREAK
#IF
checknamelist ..\QuestDiary\\6.txt
#ACT
GOTO @jianc6
BREAK

#IF
CHECKGAMEDIAMOND > 39
#ACT
MOV G80 <$HUMAN(Ԫ)>
goto @shuaxin
BREAK

[@jianc1]
#IF
CHECKVAR HUMAN Ԫ > <$STR(G41)>
#ACT
CLEARNAMELIST ..\QuestDiary\\1.txt
SendCenterMsg 57 251 ʾֵԪѾϰ,Ϊ˱ݳ,С˺ٽϷ,޷Ϸ 0  60
MESSAGEBOX ʾֵԪѾϰˡ\\Ϊ˱ݳ,С˺ٽϷ\\޷Ϸ
SENDMSG 5
SENDMSG 5
SENDMSG 5 ϵͳΪ˱Ϸгݴ
SENDMSG 5
SENDMSG 5
SENDMSG 5 Сһµ½
SENDMSG 5
SENDMSG 5
ChangeModeEx 10 99999
BREAK
[@jianc2]
#IF
CHECKVAR HUMAN Ԫ > <$STR(G42)>
#ACT
CLEARNAMELIST ..\QuestDiary\\2.txt
SendCenterMsg 57 251 ʾֵԪѾϰ,Ϊ˱ݳ,С˺ٽϷ,޷Ϸ 0  60
MESSAGEBOX ʾֵԪѾϰˡ\\Ϊ˱ݳ,С˺ٽϷ\\޷Ϸ
SENDMSG 5
SENDMSG 5
SENDMSG 5 ϵͳΪ˱Ϸгݴ
SENDMSG 5
SENDMSG 5
SENDMSG 5 Сһµ½
SENDMSG 5
SENDMSG 5
ChangeModeEx 10 99999
BREAK
[@jianc3]
#IF
CHECKVAR HUMAN Ԫ > <$STR(G43)>
#ACT
CLEARNAMELIST ..\QuestDiary\\3.txt
Send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
SENDMSG 5
SENDMSG 5
SENDMSG 5 ϵͳΪ˱Ϸгݴ
SENDMSG 5
SENDMSG 5
SENDMSG 5 Сһµ½
SENDMSG 5
SENDMSG 5
ChangeModeEx 10 99999
BREAK






[@shuaxin]
#IF
large G80 <$STR(G41)>
#ACT
MOV G41 <$STR(G80)>
MOV A81 <$USERNAME>
CLEARNAMELIST ..\QuestDiary\\1.txt
addnamelist ..\QuestDiary\\1.txt
BREAK

#IF
large G80 <$STR(G42)>
#ACT
MOV G42 <$STR(G80)>
MOV A82 <$USERNAME>
CLEARNAMELIST ..\QuestDiary\\2.txt
addnamelist ..\QuestDiary\\2.txt
BREAK

#IF
large G80 <$STR(G43)>
#ACT
MOV G43 <$STR(G80)>
MOV A83 <$USERNAME>
CLEARNAMELIST ..\QuestDiary\\3.txt
addnamelist ..\QuestDiary\\3.txt
BREAK

#IF
large G80 <$STR(G44)>
#ACT
MOV G44 <$STR(G80)>
MOV A84 <$USERNAME>
CLEARNAMELIST ..\QuestDiary\\4.txt
addnamelist ..\QuestDiary\\4.txt
BREAK

#IF
large G80 <$STR(G45)>
#ACT
MOV G45 <$STR(G80)>
MOV A85 <$USERNAME>
CLEARNAMELIST ..\QuestDiary\\5.txt
addnamelist ..\QuestDiary\\5.txt
BREAK

#IF
large G80 <$STR(G46)>
#ACT
MOV G46 <$STR(G80)>
MOV A86 <$USERNAME>
CLEARNAMELIST ..\QuestDiary\\6.txt
addnamelist ..\QuestDiary\\6.txt
BREAK


}
