debug off if_1 goto start goto noinput start: match start2 You remove match start ...wait match noreagents Get what? put get my %1 %2 matchwait start2: counter set %scriptstotaldistilled counter add 1 setvariable scriptstotaldistilled %c match stow Sensing the process nearing its end, match nodistill doesn't appear to be suitable match nodistill You need to be holding an empty flask in your left put alch distill matchwait goto stow stow: match stow ...wait match start You put match start You have nothing in your put put right in my %alchemycontainer put put left in my %alchemycontainer matchwait noreagents: if_4 goto noreagentsbutmoretodo ECHO ECHO You are out of that reagent. ECHO exit nodistill: ECHO ECHO This item ( %1 %2 ) is not something you distill. ECHO put put right in my %alchemycontainer goto noreagents noreagentsbutmoretodo: shift shift goto start noinput: labelerror: list: ECHO ECHO .distill (item) (item) ex: .distill brown essence ECHO ECHO You have extracted ( %scriptstotaldistilled ) items with this script so far. ECHO exit