[@main]
#IF
ISCASTLEGUILD
#ACT
goto @main1
#ELSESAY
You don't own Sabuk yet. Go away!\\

<Close/@exit>\


[@main1]
Hello, I'm Fred. I'm the only person\
alive that can teleport you into the\
Sabuk Cave. Of course you need to be a\
Sabuk Member for that.\\

<Enter/@entswcave> Sabuk Cave.\
<Take/@prize> my prize.\
<Exit/@exit>\

[@entswcave]
#IF
#ACT
mapmove F007 101 131
SENDMSG "YOu succesfully entered the Sabuk Cave." 3
break
close

[@prize]
#IF
checknamelist ...\market_def\Sabuk\prizegot.txt
#SAY
You already got your prize.\\

<Close/@exit>\

#ELSEACT
goto @getprize

[@getprize]
#if
CHECKVAR guild Count >199
#ACT
goto @level1
#ELSESAY
Your guild didn't complete the sabuk challenge\
yet.\\

<Close/@exit>\

[@level1]
#IF
checklevelex >0
checklevelex <10
#ACT
giveexp 200
addnamelist ...\market_def\Sabuk\prizegot.txt
SENDMSG "You succesfully received your Sabuk prize." 3
#ELSEACT
goto @level2

[@level2]
#IF
checklevelex >11
checklevelex <20
#ACT
giveexp 8000
addnamelist ...\market_def\Sabuk\prizegot.txt
SENDMSG "You succesfully received your Sabuk prize." 3
#ELSEACT
goto @level3

[@Level3]
#IF
checklevelex >21
checklevelex <30
#ACT
giveexp 50000
addnamelist ...\market_def\Sabuk\prizegot.txt
SENDMSG "You succesfully received your Sabuk prize." 3
#ELSEACT
goto @level4

[@level4]
#IF
checklevelex >31
checklevelex <40
#ACT
giveexp 500000
addnamelist ...\market_def\Sabuk\prizegot.txt
SENDMSG "You succesfully received your Sabuk prize." 3
#ELSEACT
goto @level5

[@level5]
#IF
checklevelex >41
checklevelex <50
#ACT
giveexp 2500000
addnamelist ...\market_def\Sabuk\prizegot.txt
SENDMSG "You succesfully received your Sabuk prize." 3
#ELSEACT
goto @level6

[@level6]
#IF
checklevelex >51
checklevelex <60
#ACT
giveexp 25000000
addnamelist ...\market_def\Sabuk\prizegot.txt
SENDMSG "You succesfully received your Sabuk prize." 3
