[@Markets]
{
#IF
    small p9 99
#SAY
Զ㣬Ҳ˴򽻵\ \
 <˳/@exit>
#ELSESAY
MAINMSG\ \
 <BUYITEMMSG/@buy>\
 <SELLITEMMSG/@sell>\
 <makedrug/@makedrug>\
 <HELPMSG/@helps>\ \
 <˳/@exit>
[@makedrug]
ddd
[@buy]

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

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

[@sell]

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

#IF
    small p9 99
#ACT
    mov p7 2
    goto @Punish
    break
#ELSESAY
MAINSELLMSG\ \
 </@Markets>
[@Punish]
#CALL	[\Common\Punish.txt]	@Punisher
[@CheckAction]
#CALL	[\Common\CheckAction.txt]	@Actions
}