@guide:
repeatnextcommanduntilquestmenu(9000)
talktonearestnpc(476)
wait(1000)
answer(0)
wait(1000)
@firstdoor:
opendoor(222,743,open)
wait(3000)
setvarmyx(%x)
gotoifnum1abovenum2(@controlsguide,%x,221)
goto(@firstdoor)

@controlsguide:
talktonearestnpc(499)
wait(2000)
gotoiflastchatmessageequal(@seconddoor,@yel@controls guide: Now carry on to speak to the combat instructor )
goto(@controlsguide)
@seconddoor:
opendoor(224,737,open)
wait(3000)
setvarmyy(%y)
gotoifnum1belownum2(@combatguide,%y,737)
goto(@seconddoor)

@combatguide:
talktonearestnpc(474)
wait(2000)
gotoiflastchatmessageequal(@killarat,@whi@@que@When you have done this speak to the combat instructor again)
goto(@combatguide)
@killarat:
gotoiffighting(@waitforit)
gotoiflastchatmessageequal(@combatagain,@whi@@que@Now speak to the combat instructor again)
gotoifnpcnear(@attack,473)
wait(100)
goto(@killarat)
@attack:
attacknearestnpc(473,false)
wait(500)
goto(@killarat)
@waitforit:
wait(50)
gotoiflastchatmessageequal(@combatagain,@whi@@que@Now speak to the combat instructor again)
gotoiffighting(@waitforit)
goto(@combatagain)
@combatagain:
talktonearestnpc(474)
wait(2000)
gotoiflastchatmessageequal(@cookdoor,@yel@Combat instructor: Now contine to the building to the northeast)
goto(@combatagain)

@cookdoor:
walkwait(220,727)
@cd2:
opendoor(220,727,open)
wait(3000)
setvarmyx(%x)
gotoifnum1belownum2(@cookonce,%x,220)
goto(@cd2)

@cookonce:
talktonearestnpc(478)
wait(2000)
gotoiflastchatmessageequal(@cookitonce,@yel@cooking instructor: In this case use it on the range)
goto(@cookonce)
@cookitonce:
walkwait(216,730)
@cookitonce2:
useitemwithobject(216,731,503)
wait(500)
gotoiflastchatmessageequal(@cooktwice,@whi@@que@Now speak to the cooking instructor again)
gotoiflastchatmessageequal(@cooktwice,Nothing interesting happens)
goto(@cookitonce2)

@cooktwice:
talktonearestnpc(478)
wait(2000)
gotoiflastchatmessageequal(@cookitagain,@yel@cooking instructor: Here's another piece of meat to cook )
goto(@cooktwice)
@cookitagain:
walkwait(216,730)
@cookitagain2:
useitemwithobject(216,731,503)
wait(500)
gotoiflastchatmessageequal(@cookthree,@whi@@que@Now speak to the cooking instructor again)
gotoiflastchatmessageequal(@cookthree,Nothing interesting happens)
goto(@cookitagain2)

@cookthree:
eatanything()
wait(3000)
@cookthree2:
talktonearestnpc(478)
wait(5000)
gotoiflastchatmessageequal(@leavecook,@yel@cooking instructor: Now proceed through the next door)
goto(@cookthree2)
@leavecook:
walkwait(212,729)
@lc2:
opendoor(212,729,open)
wait(3000)
setvarmyx(%x)
gotoifnum1belownum2(@finance,%x,212)
goto(@lc2)

@finance:
talktonearestnpc(480)
wait(2000)
gotoiflastchatmessageequal(@leavef,@yel@financial advisor: Now continue through the next door)
goto(@finance)
@leavef:
walkwait(206,730)
@lf2:
opendoor(206,730,open)
wait(3000)
setvarmyx(%x)
gotoifnum1belownum2(@fisher1,%x,206)
goto(@lf2)

@fisher1:
talktonearestnpc(479)
wait(4000)
gotoiflastchatmessageequal(@fish,@yel@fishing instructor: While you have the net in your inventory you might catch some fish )
goto(@fisher1)

@fish:
objcmd1(196,726)
setvarinvcountbyid(%shrimp,349)
gotoifnum1abovenum2(@fisher2,%shrimp,0)
wait(500)
goto(@fish)

@fisher2:
talktonearestnpc(479)
wait(4000)
gotoiflastchatmessageequal(@minedoor,@yel@fishing instructor: First you can cook the shrimps on my fire here if you like )
goto(@fisher2)

@minedoor:
walkwait(201,733)
@md2:
opendoor(201,734,open)
wait(3000)
setvarmyy(%y)
gotoifnum1abovenum2(@miner,%y,733)
goto(@md2)

@miner:
talktonearestnpc(482)
wait(3000)
gotoiflastchatmessageequal(@prospect,@yel@mining instructor: Right click on it and select prospect )
gotoiflastchatmessageequal(@prospect,@yel@mining instructor: And select prospect )
goto(@miner)
@prospect:
objcmd2(203,740)
wait(2500)
gotoiflastchatmessageequal(@miner2,@whi@@que@You will not find it until you increase your mining level)
goto(@prospect)

@miner2:
talktonearestnpc(482)
wait(3000)
gotoiflastchatmessageequal(@mine,@yel@mining instructor: Now hit those rocks)
gotoiflastchatmessageequal(@mine,@yel@mining instructor: If you have a pickaxe in your inventory you might get some ore )
goto(@miner2)
@mine:
objcmd1(203,740)
wait(600)
setvarinvcountbyid(%tin,202)
gotoifnum1abovenum2(@miner3,%tin,2)
goto(@mine)

@miner3:
talktonearestnpc(482)
wait(3000)
gotoiflastchatmessageequal(@bankdoor,@yel@mining instructor: Now go through the next door to speak to the bankers)
goto(@miner3)

@bankdoor:
walkwait(198,745)
@bd2:
opendoor(198,746,open)
wait(3000)
setvarmyy(%y)
gotoifnum1abovenum2(@banker,%y,745)
goto(@bd2)

@banker:
talktonearestnpc(485)
wait(3000)
gotoiflastchatmessageequal(@leavebank,@yel@Bank assistant: Certainly miss )
gotoiflastchatmessageequal(@leavebank,@yel@Bank assistant: Certainly sir )
gotoiflastchatmessageequal(@leavebank,@yel@Bank assistant: Certainly Sir )
gotoiflastchatmessageequal(@leavebank,@yel@Bank assistant: Certainly sir)
gotoiflastchatmessageequal(@leavebank,@yel@Bank assistant: Certainly Sir)
goto(@banker)
@leavebank:
walkwait(203,752)
@lb2:
opendoor(204,752,open)
wait(3000)
setvarmyx(%x)
gotoifnum1abovenum2(@questguy,%x,203)
goto(@lb2)

@questguy:
repeatnextcommanduntilquestmenu(4000)
talktonearestnpc(489)
wait(3000)
answer(0)
@leavequest:
walkwait(209,753)
@lq2:
opendoor(209,754,open)
wait(3000)
setvarmyy(%y)
gotoifnum1abovenum2(@wildyguy,%y,753)
goto(@lq2)

@wildyguy:
@cut2:
gotoifcountininventorygreater(@wildyguy2,5,14)
setvarsnearestobject(%x,%y,70)
objcmd2(%x,%y)
wait(1000)
goto(@cut2)
@wildyguy2:
repeatnextcommanduntilquestmenu(6000)
talktonearestnpc(493)
wait(2000)
answer(0)
waitforquestmenu(15000)
answer(0)
@magedoor:
walkwait(216,760)
@md3:
opendoor(217,760,open)
wait(3000)
setvarmyx(%x)
gotoifnum1abovenum2(@magicguy1,%x,216)
goto(@md3)

@magicguy1:
repeatnextcommanduntilquestmenu(8000)
talktonearestnpc(494)
wait(1000)
answer(1)
wait(1000)
@magicguy2:
talktonearestnpc(494)
wait(3000)
setvarinvcountbyid(%mind,35)
gotoifnum1abovenum2(@dropmind,%mind,0)
goto(@magicguy2)
@dropmind:
dropbyname(Mind-Rune)
wait(2000)
setvarinvcountbyid(%mind,35)
gotoifnum1abovenum2(@dropmind,%mind,0)
goto(@magicguy3)

@magicguy3:
talktonearestnpc(494)
wait(3000)
gotoiflastchatmessageequal(@fatiguedoor,@yel@Magic Instructor: Now go through the next door)
goto(@magicguy3)

@fatiguedoor:
walkwait(221,760)
@fd3:
opendoor(222,760,open)
wait(3000)
setvarmyx(%x)
gotoifnum1abovenum2(@fguy1,%x,221)
goto(@fd3)

@fguy1:
talktonearestnpc(774)
wait(3000)
gotoiflastchatmessageequal(@bed,@yel@Fatigue expert: When you have done that talk to me again)
goto(@fguy1)

@bed:
walkwait(223,760)
objcmd1(222,761)
wait(2000)
objcmd1(222,761)
wait(8000)
waitforwakeup(25000)
gotoifsleeping(@bed)
goto(@fguy2)

@fguy2:
talktonearestnpc(774)
wait(3000)
gotoiflastchatmessageequal(@fdoor8,@yel@Fatigue expert: You can now go through the next door")
goto(@fguy2)

@fdoor8:
walkwait(225,760)
@fd8:
opendoor(226,760,open)
wait(3000)
setvarmyx(%x)
gotoifnum1abovenum2(@lady,%x,225)
goto(@fd8)

@lady:
repeatnextcommanduntilquestmenu(6000)
talktonearestnpc(496)
wait(1000)
answer(0)
waitforquestmenu(30000)
answer(1)
wait(2000)
@lastdoor:
walkwait(230,759)
@ld9:
opendoor(230,759,open)
wait(3000)
setvarmyy(%y)
gotoifnum1belownum2(@lastguy,%y,759)
goto(@ld9)

@lastguy:
repeatnextcommanduntilquestmenu(6000)
talktonearestnpc(497)
wait(1500)
answer(0)
displayrs(Now thats what i call a script volume 13)
