Öhr GmbH wrote:mhhh i dont know much about lua, but i think this is a bug.
you first and very basic script was 01 - Hello.lua.
runs fine in dslua v0.1, but shuts down after 1 sec after loading.
bug?
Ah, in version 0.1, you had to press START after your script finish to continue. Alot of people thought the script/DSLua was hanging. So, I have removed the need to press START and just wait around 1.5 seconds. If you want a delay at the end of script, you can put in this loop at the end:
while true do
if Pads.AnyKey() then
break
end
Screen.WaitForVBL()
end
Some of the new example scripts in the DSLua 0.2
scripts directory uses this trick.
