You have subs embedded within other subs...
The keg emptier script...
Line 131 is "sub menutracker"
Lines 132-176 have no "return"
Line 177 is "sub securesetup"
So the flow would be from one sub directly into another which is incorrect. You probably should have a sub to complete your "menutracker".
*I only looked at this one script, it's probably something similar with the other 2 you found.
******************************
Wood Pulp
Line 301 is "sub startcookin" which doesn't have a return. There's a goto loop in there (
) and it *should* have a return someplace.
******************************
Chicken Coop
Line 627 has your halt sub "sub Endchicktending"
SUO doesn't see the return (you have the script halting) and that's why it generated the error. It's semantics really, just put a return after the "halt" and SUO will be happy. Of course the return will never be hit.
******************************************
Smoke Bomb
** Error - Line 85: Unknown command Hide
** Error - Line 576: Unknown command to
** Error - Line 579: Unknown command mortars
Actually line 578 should be in there too, looks like free text and line 578 starts with the word "if" which is a valid EUO command
*******************************************
Just pointing out that SUO is a great tool to clean up code.