Auto-translated
The thing is, simply having a Lua file isn't enough. You also need a MapScript.xdb file with a reference to that Lua file. And in the map.xdb file, you need a reference to the MapScript.xdb file.
The advice given above works in this regard and is relatively straightforward.
The advice given above works in this regard and is relatively straightforward.