Created
May 14, 2022 01:12
-
-
Save dndrks/baf763d97f6f20e1a80a8764af921092 to your computer and use it in GitHub Desktop.
cheat codes user script boilerplate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- required container, do not change this: | |
local user_script = {} | |
-- this function is called whenever a loaded collection | |
-- has a 'user_script.lua' file in the collection: | |
function user_script.init() | |
print("hello from the user script") | |
end | |
-- this function is called whenever the transport starts: | |
function user_script.transport_start() | |
print("user script started") | |
end | |
-- this function is called whenever the transport stops: | |
function user_script.transport_stop() | |
print("user script stopped") | |
end | |
-- required return, do not change this: | |
return user_script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment