Board Thread:Support Requests - Getting Technical/@comment-253018-20191208000350

The last time I asked about getting a Lua module to work, someone just did it without any explanation. I don't want to have to start a thread every time I have to do this, and the docs seem to tell me I'm doing things exactly right. All I'm trying to do right now is import Lua's string.gsub into a module. The module looks like this:

local p = {}

function p.printList(frame) params = frame:getParent.args return string.gsub(params[1], params[2], params[3]) end

return p

I can't figure out what's wrong anymore, and the docs don't help. 