-- Lua scripts that table checkbox will not be checked with "NO_ACTIVATE" in comment/script body
if not onMemRecPostExecute then
function onMemRecPostExecute(memoryrecord, newState, succeeded)
if memoryrecord.Type == vtAutoAssembler and memoryrecord.Script:find("NO_ACTIVATE") and newState and succeeded then
synchronize(function()
memoryrecord.disableWithoutExecute()
end)
end
end
end
Step 2: in lua script, place a comment "NO_ACTIVATE" in script. i.e. below script will print a message and keep item unchecked (unlock)
[ENABLE]
{$lua}
--NO_ACTIVATE
if syntaxcheck then return end
print('Hello World!')
{$asm}
[DISABLE]
Last edited by bbfox on Fri Mar 07, 2025 3:01 am, edited 1 time in total.
I create tables to suit my preferences. Table is free to use, but need to leave the author's name and source URL: https://opencheattables.com.
Table will not be up-to-date. Feel free to modify it, but kindly provide credit to the source.