News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
User Prompt
Author Message
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: User Prompt

try io.read()

As a simple example, open up lua interactively.
type "var=io.read()"; it will wait for input.
type something else.
type "print(var)"; it will print whatever you typed previously.

I'm not sure about masking, but I'd be surprised if it's not available.

This post was last modified: 02-27-2008 08:35 AM by mikshaw.

02-27-2008 08:34 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
User Prompt - asafp - 02-27-2008, 08:04 AM
RE: User Prompt - mikshaw - 02-27-2008 08:34 AM
RE: User Prompt - iGame3D - 02-29-2008, 08:34 AM
RE: User Prompt - mikshaw - 03-01-2008, 06:59 AM
RE: User Prompt - asafp - 03-05-2008, 03:34 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: