Results 1 to 7 of 7

Thread: Lua help

                  
   
  1. #1
    DCEmu Regular weirdelf's Avatar
    Join Date
    May 2006
    Location
    London
    Posts
    494
    Rep Power
    95

    Default Lua help

    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

  2. #2

    Default

    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?

  3. #3
    DCEmu Regular weirdelf's Avatar
    Join Date
    May 2006
    Location
    London
    Posts
    494
    Rep Power
    95

    Default

    Good idea. Thanks

  4. #4
    DCEmu Newbie
    Join Date
    Jul 2006
    Posts
    4
    Rep Power
    0

    Default

    If it's a cmd file, he's using Luaplayer Windows. You have to edit the actual command script, not just the title.

  5. #5
    DCEmu Regular weirdelf's Avatar
    Join Date
    May 2006
    Location
    London
    Posts
    494
    Rep Power
    95

    Default

    how do i edit it?

  6. #6
    DCEmu Regular weirdelf's Avatar
    Join Date
    May 2006
    Location
    London
    Posts
    494
    Rep Power
    95

    Default

    anyone?

  7. #7
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    In notepad. (Right click on the file->Edit).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •