mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
reduce bag event usage for lag and fix macro calling within macros
This commit is contained in:
@@ -105,7 +105,7 @@ do
|
||||
if type(fn) == "function" then
|
||||
local b2, e2 = string.find(text, "^%s*/" .. k .. "%s+[!%[%{%?~]")
|
||||
if b2 then
|
||||
local msg2 = string.gsub(string.sub(text, e2 + 1), "^%s+", "")
|
||||
local msg2 = string.gsub(string.sub(text, e2), "^%s+", "")
|
||||
pcall(fn, msg2)
|
||||
return true -- IMPORTANT
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user