Help:Lua Troubleshooting

Common Lua Problems and Solutions edit

Error Messages edit

  • "Script error" - Check syntax and function names
  • "Nil value" - Make sure all variables exist
  • "Time limit exceeded" - Your code might be too complex

Getting Help edit

1. Check the error message 2. Look at similar modules 3. Ask on the discussion page 4. Tag your question with "Lua help"