will go to nearest flax plant and alch what it picks
@main:
gotoifbagfull(@alch)
goto(@pick)

@pick:
setvarsnearestobject(%x,%y,313)
objcmd2(%x,%y)
wait(600)
goto(@main)

@alch:
setvarfatigue(%f)
gotoifnum1abovenum2(@sleep,%f,99)
mageitembyid(675,28)
wait(500)
gotoifcountininventorygreater(@alch,0,675)
goto(@main)

@sleep:
wait(2000)
useitembyid(1263)
wait(2000)
waitforwakeup(28000)
gotoifsleeping(@sleep)
walknowait(706,434)
wait(2000)
goto(@alch)
