Thanks for that, if anyone else id looking for it it's here
http://phi.lho.free.fr/downloads/LuaExe-5.0.2.zip
another small problem...
What is wrong with thr RPG example?
while lua next()
` When we come across
if lua message desc()="Array:Key"
eid = lua message int()
typ$ =lua array string("Entities->#"+str$(eid)+"->type")
` Call update function
lua set function typ$+"_Tick",1,0
lua push int eid
lua call
endif
rem Deal with messages that might pop up on the queue. Entities lodge messages that we then act upon.
if lua message desc()="Click2Talk" then center text 512,300,"Click to talk to this nice man!"
if lua message desc()="ChatWindow" and timer()-lastchat > 1000
talkBox(10,10,lua message string(),800,rgb(0,0,0),rgb(255,255,255))
lua set int "MOUSECLICK",0
lastchat=timer()
endif
endwhile
the compiler insists the ENDWHILE is out of place but if I take it out i cannot talk to the dwarfs.