Does Require work within Rainmeter? I want to modularize some functions and ideally employ some form of polymorphism, but this task is largely impossible without "Require."
mainClass = require "mainClass"
function Initialize()
mainClass.WriteThis()
end
This should in theory work, but it always errors out saying that "require" is a nil value. I've tried "Require" as well to no avail. I have also tried changing the parameter of require to the full path with extension, just in case.