Not writing script properly?

Create issue
Issue #14 invalid
Former user created an issue

It keeps saying that it is expecting an "=" near LoadGen. What exactly am I doing wrong?

Comments (10)

  1. Josh Zammit (FiredHigh)

    In the wiki tab above, I'm using the command line given to open up the Code Generator (the first code box) I'm writing it out exactly into Lua

  2. Jason McKesson repo owner

    Do you have Lua installed correctly? The download package seems to be working fine with that command line. Are you using something out of Mercurial rather than the download?

    Also, can you show the exact error message, copied directly from the command line window (along with the actual command-line)?

    Oh, and what platform are you using this on?

  3. Josh Zammit (FiredHigh)

    I'm using Windows 7, And the error line says:

    stdin:1: '=' expected near 'LoadGen'

    I just use the Lua (command line).exe

  4. Jason McKesson repo owner

    OK, I see what you're doing now. You're double-clicking on the Lua executable, then typing the command line into that. That's not how this works.

    You're supposed to open a console window, and from there enter the command line. What you get when you double-click the Lua executable is just Lua's std-in interpreter.

  5. Log in to comment