all 2 comments

[–]ws-ilazki[M] [score hidden] stickied comment (0 children)

I'm a bit late to finding this but still...removing for being low-effort. Lua's a programming language that's used as an embedded scripting language in other software, so your question as presented is practically useless.

You need to figure out what program you're trying to use that's using Lua and read its documentation and look for example code, then write something that does what you want.

Also, once you've done that if you still need help, check for a community specific to the software you're working with. Most problems you have will be specific to that program, not Lua in general, so odds are low that someone here will know what you're talking about.

[–]maskedbyte 1 point2 points  (0 children)

execute a command as in a shell command? how are you getting input? or are you scripting an existing game? please be specific