#.shake (# of times) if_2 goto setauto goto shake%shakeauto shake0: if_1 counter set %1 if_1 goto start counter set 1 goto start shake1: shakewhat: match shakebottle I could not find what you were referring to. match shakebottle You are not holding that. match shakebottle Shake what? match shakewhat ...wait match startshaking You give your setvariable shake jar put shake my jar matchwait shakebottle: match shakebeaker I could not find what you were referring to. match shakebeaker You are not holding that. match shakebeaker Shake what? match shakebottle ...wait match startshaking You give your setvariable shake bottle put shake my bottle matchwait shakebeaker: match Nothing I could not find what you were referring to. match nothing You are not holding that. match nothing Shake what? match shakebeaker ...wait match startshaking You give your setvariable shake beaker put shake my beaker matchwait nothing: ECHO ECHO It seems you have neither a jar, a beaker, or a bottle on hand. ECHO exit startshaking: counter set %1 counter subtract 1 put put left in %alchemycontainer goto start%c start: start50: start49: start48: start47: start46: start45: start44: start43: start42: start41: start40: start39: start38: start37: start36: start35: start34: start33: start32: start31: start30: start29: start28: start27: start26: start25: start24: start23: start22: start21: start20: start19: start18: start17: start16: start15: start14: start13: start12: start11: start10: start9: start8: start7: start6: start5: start4: start3: start2: start1: put shake my %shake put put left in %alchemycontainer waitfor You put if_1 counter subtract 1 if_1 goto start%c exit start0: match putinbag I could not find what you were referring to. match exitit and it quickly disappears. put put right in chest matchwait exitit: exit putinbag: put put right in %alchemycontainer exit setauto: goto shakeauto%shakeauto shakeauto1: setvariable shakeauto 0 ECHO ECHO Shake Auto is OFF. Simply use a second user variable to turn it back on. Ex: .shake 1 1 ECHO exit shakeauto0: setvariable shakeauto 1 ECHO ECHO Shake Auto is ON. ECHO exit