SomethingNeedDoing icon indicating copy to clipboard operation
SomethingNeedDoing copied to clipboard

[Feature Request] load other Lua scripts.

Open zaevi opened this issue 3 years ago • 1 comments

For example I write a script named utils:

function echo(str)
    yield("/echo "..str)
end

Then I can use it in other scripts like:

RunScript("utils")

local cp = GetCurrentCp()
echo(cp)

It would be helpful to make complex scripts.

zaevi avatar Aug 19 '22 06:08 zaevi

This. Please so much this. It would make things a load easier in the long term.

ladyredxiv avatar Dec 26 '22 07:12 ladyredxiv