63 posts
Posted 21 April 2016 - 07:20 PM
If i try to make a mouse click program then it dont work, check the mouse click events in the code, there is the problem i think.
Pastebin:
http://pastebin.com/Zv1vYihC
212 posts
Location
Somewhere in this dimension... I think.
Posted 21 April 2016 - 07:40 PM
May I ask on what line you are looking for the mouse event on?
7083 posts
Location
Tasmania (AU)
Posted 22 April 2016 - 12:45 AM
He's not. Nothing in that paste checks for anything to do with mouse clicks.
If you want to repeat code, use a while loop or something. Having biosmenu() itself will eventually lead to a stack overflow, as each old instance stays loaded in memory, waiting for each new one to complete and return. There's a limit as to how many functions you can run at a time, hence the eventual crash.
http://lua-users.org/wiki/ControlStructureTutorial