[@main]
#if
EQUAL N$ֽ 0
#act
SetStringBlank <$STR(S$ֽ)> 10 1
#if
EQUAL S41
#act
SetStringBlank S41 10 1

#IF
#ACT
CloseBigDialogBox
MOV N31 0
MOV N32 1
MOV N33 2
MOV N34 3
MOV N35 4
MOV N36 5
MOV N37 6
MOV N38 7
MOV S31
MOV S32
MOV S33
MOV S34
MOV S35
MOV S36
MOV S37
MOV S38
GetRandomText ..\QuestDiary\ּ¼.txt  S31 <$STR(N31)>
GetRandomText ..\QuestDiary\ּ¼.txt  S32 <$STR(N32)>
GetRandomText ..\QuestDiary\ּ¼.txt  S33 <$STR(N33)>
GetRandomText ..\QuestDiary\ּ¼.txt  S34 <$STR(N34)>
GetRandomText ..\QuestDiary\ּ¼.txt  S35 <$STR(N35)>
GetRandomText ..\QuestDiary\ּ¼.txt  S36 <$STR(N36)>
GetRandomText ..\QuestDiary\ּ¼.txt  S37 <$STR(N37)>
GetRandomText ..\QuestDiary\ּ¼.txt  S38 <$STR(N38)>
SetStringBlank <$STR(S31)> 50 1
SetStringBlank <$STR(S32)> 50 1
SetStringBlank <$STR(S33)> 50 1
SetStringBlank <$STR(S34)> 50 1
SetStringBlank <$STR(S35)> 50 1
SetStringBlank <$STR(S36)> 50 1
SetStringBlank <$STR(S37)> 50 1
SetStringBlank <$STR(S38)> 50 1
#SAY
\<Img:270:5:-20:170>\
\ \
<ּ¼:/SCOLOR=70><Img:803:0:-58:4>\
{<$STR(N31)>./SCOLOR=254}   {<$STR(S31)>/SCOLOR=215}\
{<$STR(N32)>./SCOLOR=254}   {<$STR(S32)>/SCOLOR=215}\
{<$STR(N33)>./SCOLOR=254}   {<$STR(S33)>/SCOLOR=215}\
{<$STR(N34)>./SCOLOR=254}   {<$STR(S34)>/SCOLOR=215}\
{<$STR(N35)>./SCOLOR=254}   {<$STR(S35)>/SCOLOR=215}\
{<$STR(N36)>./SCOLOR=254}   {<$STR(S36)>/SCOLOR=215}\
{<$STR(N37)>./SCOLOR=254}   {<$STR(S37)>/SCOLOR=215}\
{<$STR(N38)>./SCOLOR=254}   {<$STR(S38)>/SCOLOR=215}\
\                     <һҳ/@1111ac>                   <һҳ/@2222ad>\
<Img:803:0:-18:4>\
\  <㵱ǰ˻RMBΪ :/SCOLOR=253> {<$GAMEPOINT>/SCOLOR=251} \
<Img:803:0:-18:4>\
\ <֧/@@InPutString41>  <$STR(S41)>  <֧˺|254#֧˺,˺.@#/@@InPutString42>  <$STR(S42)>\
 <Img:803:0:-18:4>\
\ </@@InPutInteger41>  <$STR(S$ֽ)>  <ȷ/@><ȡ10%/SCOLOR=254>\

[@1111ac]
#if
equal N31 0
#ACT
MESSAGEBOX ǰѾǵһҳ
break

#IF
#ACT
DEC N31 8
DEC N32 8
DEC N33 8
DEC N34 8
DEC N35 8
DEC N36 8
DEC N37 8
DEC N38 8
MOV S31
MOV S32
MOV S33
MOV S34
MOV S35
MOV S36
MOV S37
MOV S38
GetRandomText ..\QuestDiary\ּ¼.txt  S31 <$STR(N31)>
GetRandomText ..\QuestDiary\ּ¼.txt  S32 <$STR(N32)>
GetRandomText ..\QuestDiary\ּ¼.txt  S33 <$STR(N33)>
GetRandomText ..\QuestDiary\ּ¼.txt  S34 <$STR(N34)>
GetRandomText ..\QuestDiary\ּ¼.txt  S35 <$STR(N35)>
GetRandomText ..\QuestDiary\ּ¼.txt  S36 <$STR(N36)>
GetRandomText ..\QuestDiary\ּ¼.txt  S37 <$STR(N37)>
GetRandomText ..\QuestDiary\ּ¼.txt  S38 <$STR(N38)>
SetStringBlank <$STR(S31)> 50 1
SetStringBlank <$STR(S32)> 50 1
SetStringBlank <$STR(S33)> 50 1
SetStringBlank <$STR(S34)> 50 1
SetStringBlank <$STR(S35)> 50 1
SetStringBlank <$STR(S36)> 50 1
SetStringBlank <$STR(S37)> 50 1
SetStringBlank <$STR(S38)> 50 1
#SAY
\<Img:270:5:-20:170>\
\ \
<ּ¼:/SCOLOR=70><Img:803:0:-58:4>\
{<$STR(N31)>./SCOLOR=254}   {<$STR(S31)>/SCOLOR=215}\
{<$STR(N32)>./SCOLOR=254}   {<$STR(S32)>/SCOLOR=215}\
{<$STR(N33)>./SCOLOR=254}   {<$STR(S33)>/SCOLOR=215}\
{<$STR(N34)>./SCOLOR=254}   {<$STR(S34)>/SCOLOR=215}\
{<$STR(N35)>./SCOLOR=254}   {<$STR(S35)>/SCOLOR=215}\
{<$STR(N36)>./SCOLOR=254}   {<$STR(S36)>/SCOLOR=215}\
{<$STR(N37)>./SCOLOR=254}   {<$STR(S37)>/SCOLOR=215}\
{<$STR(N38)>./SCOLOR=254}   {<$STR(S38)>/SCOLOR=215}\
\                     <һҳ/@1111ac>                   <һҳ/@2222ad>\
<Img:803:0:-18:4>\
\  㵱ǰ˻RMBΪ : <$GAMEPOINT> \
<Img:803:0:-18:4>\
\ <֧/@@InPutString41>  <$STR(S41)>  <֧˺|254#֧˺,˺.@#/@@InPutString42>  <$STR(S42)>\
 <Img:803:0:-18:4>\
\ </@@InPutInteger41>  <$STR(S$ֽ)>  <ȷ/@>\


[@2222ad]
#IF
EQUAL S38
#ACT
MESSAGEBOX ǰѾһҳ
break

#IF
#ACT
INC N31 8
INC N32 8
INC N33 8
INC N34 8
INC N35 8
INC N36 8
INC N37 8
INC N38 8
MOV S31
MOV S32
MOV S33
MOV S34
MOV S35
MOV S36
MOV S37
MOV S38
GetRandomText ..\QuestDiary\ּ¼.txt  S31 <$STR(N31)>
GetRandomText ..\QuestDiary\ּ¼.txt  S32 <$STR(N32)>
GetRandomText ..\QuestDiary\ּ¼.txt  S33 <$STR(N33)>
GetRandomText ..\QuestDiary\ּ¼.txt  S34 <$STR(N34)>
GetRandomText ..\QuestDiary\ּ¼.txt  S35 <$STR(N35)>
GetRandomText ..\QuestDiary\ּ¼.txt  S36 <$STR(N36)>
GetRandomText ..\QuestDiary\ּ¼.txt  S37 <$STR(N37)>
GetRandomText ..\QuestDiary\ּ¼.txt  S38 <$STR(N38)>
SetStringBlank <$STR(S31)> 50 1
SetStringBlank <$STR(S32)> 50 1
SetStringBlank <$STR(S33)> 50 1
SetStringBlank <$STR(S34)> 50 1
SetStringBlank <$STR(S35)> 50 1
SetStringBlank <$STR(S36)> 50 1
SetStringBlank <$STR(S37)> 50 1
SetStringBlank <$STR(S38)> 50 1
#IF
EQUAL S31
#ACT
MESSAGEBOX ǰѾһҳ
break

#IF
#SAY
\<Img:270:5:-20:170>\
\ \
<ּ¼:/SCOLOR=70><Img:803:0:-58:4>\
{<$STR(N31)>./SCOLOR=254}   {<$STR(S31)>/SCOLOR=215}\
{<$STR(N32)>./SCOLOR=254}   {<$STR(S32)>/SCOLOR=215}\
{<$STR(N33)>./SCOLOR=254}   {<$STR(S33)>/SCOLOR=215}\
{<$STR(N34)>./SCOLOR=254}   {<$STR(S34)>/SCOLOR=215}\
{<$STR(N35)>./SCOLOR=254}   {<$STR(S35)>/SCOLOR=215}\
{<$STR(N36)>./SCOLOR=254}   {<$STR(S36)>/SCOLOR=215}\
{<$STR(N37)>./SCOLOR=254}   {<$STR(S37)>/SCOLOR=215}\
{<$STR(N38)>./SCOLOR=254}   {<$STR(S38)>/SCOLOR=215}\
\                     <һҳ/@1111ac>                   <һҳ/@2222ad>\
<Img:803:0:-18:4>\
\  㵱ǰ˻RMBΪ : <$GAMEPOINT> \
<Img:803:0:-18:4>\
\ <֧/@@InPutString41>  <$STR(S41)>  <֧˺|254#֧˺,˺.@#/@@InPutString42>  <$STR(S42)>\
 <Img:803:0:-18:4>\
\ </@@InPutInteger41>  <$STR(S$ֽ)>  <ȷ/@>\

[@InPutInteger41]
#IF
NOT LARGE N41 0
#ACT
MESSAGEBOX ȷϢ
MOV N41 0
MOV S$ֽ 0
SetStringBlank <$STR(S$ֽ)> 10 1
BREAK

#IF
LARGE N41 10000
#ACT
MESSAGEBOX ȷϢ
MOV N41 0
MOV S$ֽ 0
SetStringBlank <$STR(S$ֽ)> 10 1
BREAK

#IF
LARGE N41 0
SMALL N41 10000
#ACT
MOV S$ֽ <$STR(N41)>
SetStringBlank <$STR(S$ֽ)> 10 1
GOTO @MAIN

[@InPutString41]
#if
CheckContainsTextListEx ..\QuestDiary\ļ\\ֹ.txt <$STR(S5)>
#act
messagebox ⷨ
break

#IF
EQUAL S41
#ACT
MESSAGEBOX ȷϢ
MOV S41
SetStringBlank <$STR(S41)> 10 1
BREAK
#IF
CheckStringlength <$STR(S41)> > 10
#ACT
MOV S41
SetStringBlank <$STR(S41)> 10 1
MESSAGEBOX .ȷϢ
BREAK

#IF
#ACT
SetStringBlank <$STR(S41)> 10 1
GOTO @MAIN

[@InPutString42]
#if
CheckContainsTextListEx ..\QuestDiary\ļ\\ֹ.txt <$STR(S5)>
#act
messagebox ⷨ
break

#IF
EQUAL S42
#ACT
MOV S42
MESSAGEBOX ȷϢ
BREAK

#IF
CheckStringlength <$STR(S42)> > 20
#ACT
MOV S42
MESSAGEBOX ˻.ȷϢ
BREAK


#IF
#ACT
SetStringBlank <$STR(S42)> 20 1
GOTO @MAIN


[@]
#OR
EQUAL S41
EQUAL S42
#ACT
MESSAGEBOX ȷϢ
BREAK
#IF
EQUAL N41 0
#ACT
MESSAGEBOX ȷֽ.㵱ǰֽΪ<$STR(N41>
BREAK

#IF
CHECKGAMEPOINT < <$STR(N41)>
#act
MESSAGEBOX Ҳ<$STR(N41)>޷
BREAK

#IF
NOT CHECKGAMEPOINT < <$STR(N41)>
#ACT
MOV S31 <$MONTH>
MOV S32 <$DAY>
MOV S33 <$HOUR>
MOV S34 <$MINUTE>
MOV S35 <$SECOND>
SetStringBlank <$STR(S31)> 2 0
SetStringBlank <$STR(S32)> 2 0
SetStringBlank <$STR(S33)> 2 0
SetStringBlank <$STR(S34)> 2 0
SetStringBlank <$STR(S35)> 2 0
MOV S$ 
SetStringBlank <$STR(S$)> 10 0
GAMEPOINT - <$STR(N41)>
AddTextListEX ..\QuestDiary\ּ¼.txt [<$username>]<$STR(S31)><$STR(S32)><$STR(S33)>:<$STR(S34)>:<$STR(S35)>[<$STR(N41)>]Ԫ<$STR(S$)> 0
AddTextListEX ..\QuestDiary\.txt [<$username>]֧:<$STR(S41)>˺:<$STR(S42)>[<$STR(N41)>]Ԫ 0
MESSAGEBOX <$STR(N41)>ҳɹ
GOTO @MAIN




