You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
409 B
18 lines
409 B
--[[ BEGIN STANDARD HEADER ]] --
|
|
|
|
-- Imports
|
|
local _G = _G
|
|
local SVC_NAMESPACE = SVC_NAMESPACE
|
|
|
|
-- Isolate the environment
|
|
setfenv(1, select(2, ...))
|
|
|
|
--[[ END STANDARD HEADER ]] --
|
|
|
|
local stack = _G.debugstack()
|
|
if stack:match("ns\\") then
|
|
FolderLocation = stack:match("ns\\(.-)\\")
|
|
elseif stack:match("ns/") then
|
|
FolderLocation = _G.debugstack():match("ns/(.-)/"):gsub("/", "\\")
|
|
end
|
|
|
|
|