[@Markets]
{
#IF
    small p9 99
#SAY
Զ㣬Ҳ˴򽻵\ \
 <˳/@exit>
#ELSESAY
MAINMSG\ \
 <STORMSG/@storage>    <GETBACKMSG/@getback>\
 <BINDMSG/@makedrug>    <CHGOLDMSG/@changeGold>\
 <HELPMSG/@helps>        <README/@StorageHelp>\ \
 <˳/@exit>
 <>
[@storage]

#IF
    equal p9 0
#ACT
    mov p7 1
    goto @Punish
    break

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break
#ELSESAY
MAINSTMSG\ \
 </@Markets>

[@getback]

#IF
    equal p9 0
#ACT
    mov p7 1
    goto @Punish
    break

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break
#ELSESAY
MAINGETMSG\ \
 </@Markets>

[@makedrug]

#IF
    equal p9 0
#ACT
    mov p7 1
    goto @Punish
    break

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break
#ELSESAY
MAINBINMSG\ \
 </@Markets>

[@changeGold]
#IF
    equal p9 0
#ACT
    mov p7 1
    goto @Punish
    break

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break
#ELSESAY
MAINCHGMSG\ \
 <Ҷһ/@GoldTO>\
 <һ/@ToGold>\ \
 </@Markets>
#ELSEACT

[@GoldTO]

#IF
    equal p9 0
#ACT
    mov p7 1
    goto @Punish
    break

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break

#IF
  checkgold 501000
#ACT
   take  501000
   give  1
   goto @changeGold
#ELSESAY
ֽ𲻹򱳰ˣû취㣡 \
׼ɣ\ \
 </@changeGold>

[@ToGold]

#IF
    equal p9 0
#ACT
    mov p7 1
    goto @Punish
    break

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break

#IF
    checkgold 4591000
#SAY
ֽ̫ˣװ¸Ǯˡ \ \
 </@changeGold>
#ACT
    break

#IF
  checkitem  1
#ACT
   take  1
   give  409000
   goto @changeGold
#ELSESAY
㶼ûнû취㣡 \
׼ɣ\ \
 </@changeGold>
[@Punish]
#CALL	[\Common\Punish.txt]	@Punisher
[@CheckAction]
#CALL	[\Common\CheckAction.txt]	@Actions
}