Oh yeah, my bad, should move line 1598:
Code:
Global $AUTOTOP_KEY, $CHECK_AUTOTOP_FLAG, $SLIDE_AUTOTOP, $AUTOTOP_PERC, $CFG_HEAL_AUTOTOP_FLAG_KEY = $NAME & "--" & "AutoToPFlag", $CFG_HEAL_AUTOTOP_PERC_KEY = $NAME & "--" & "AutoToPPerc", $CFG_HEAL_AUTOTOP_KEY = $NAME & "--" & "AutoToPKey"
up to line 162 or so, instead of being inside the function for the GUI. Sorry for that. At the place it is now, it will only not produce an error if you have opened up the menu for Life Support before starting the bot.
This line declared certain variables that are used in the function where it checks for pot usage. So if you hadn't opened the GUI for life support those variables hadn't been declared yet, that's why it caused that error. Shame on me, that's what you get when hacking together bits of code instead of doing it neatly lol. I was trying to minimize the number of places you had to edit the code :o