I'm relatively new to Lua and so this is probably an issue of ignorance but I can't seem to get to the bottom of this one:
I would like a simple means of getting user text input and storing it in a variable. I have seen Small_g's password script which works just fine but I wonder if it is possible to do this with much less coding similar to BASIC style, Input A$.
I've tried using:
io.write("Input some text:")
text = io.read()
io.write(text)
or print(text) or Prompt(text)
but in the context of GameGuru this didn't seem to do anything and the 'text' variable remained null.
I suspect my misconception of how GameGuru handles these commands and text input in general is to blame here, but it would be so much more convienient if I could find a simple way of reading user input. Any pointers would be much appreciated.