I was watching your youtube video DiceBot Programmer mode tutorial 4 and you
discussed loadfile('script.lu')
What is the default location diceboot looks for the file? I noticed yours was in a debug folder in the dicebot folder.
Is this able to be used as a variable? And if so does it autostart upon loading?
i.e.
if balance<=minbal then
loadfile('script.lu')
end
or is that limited to loadstrategy?
I really do apologize for my ignorance. My programming language skill is zilch outside of very basic html,
but I do like learning/experimenting.
I can half ass put things together via copy pasta pretty good though o_O
The default folder is the folder that the executable is in. That debug folder is where visual studio puts the executable when you compile it.
I see no reason why that wouldn't work, but I have no idea what the result would be.
I'm guessing one of 2 things are going to happen. Lua is going to give you an error saying you can't define a function while executing it (or something similar), or it's going redefine the function and just run with. No idea. Let me know when you've tested it
