PDA

View Full Version : Lua help



weirdelf
September 24th, 2006, 13:30
Right now I am learning how to code lua but I have a problem which is that I have created another lua script named script2.lua. I also created another .cmd file called script2.cmd When i click on script2.cmd it runs the code from script.lua instead of script2.lua

bronxbomber92
September 24th, 2006, 13:59
I think it will only work for script.lua, unless you change the var path(?)
But anyways, why not rename it scipt.lua and change the name of the other one?

weirdelf
September 24th, 2006, 14:14
Good idea. Thanks

LMelior
September 24th, 2006, 17:55
If it's a cmd file, he's using Luaplayer Windows. You have to edit the actual command script, not just the title.

weirdelf
September 25th, 2006, 18:20
how do i edit it?

weirdelf
September 26th, 2006, 21:39
anyone?

yaustar
September 26th, 2006, 21:41
In notepad. (Right click on the file->Edit).