.lua-files/utility-quickref-test.lua

16 lines
444 B
Lua
Raw Permalink Normal View History

2024-11-06 04:50:26 +00:00
local success, utility = pcall(function()
return dofile((arg[0]:match("@?(.*/)") or arg[0]:match("@?(.*\\)")) .. "utility-functions.lua")
end)
if not success then
print("\n\n" .. tostring(utility))
error("\n\nThis script may be installed improperly. Follow instructions at:\n\thttps://github.com/TangentFoxy/.lua-files#installation\n")
end
print(utility.path)
print(utility.OS)
print(utility.uuid())
print("\n")
utility.ls(".")(print)