Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

dunno who did demo tables, but would like to throw some red-cheddar their way..
View attachment 34423
the tables demo in examples? I did it, just converted from the c++ demo
thats pretty cool.Thanks to everyone who has nudged me along the way.. here is a teaser progress video..
thats pretty cool.
Design wise, i think making a tab bar might be better UI than the series of collapsible headers
local function script_status(p_script_name, p_squelch)
-- print("passed: ", p_script_name)
local pid_array = mq.TLO.Lua.PIDs()
local delimiter = ","
local pid_table = {};
for match in (pid_array .. delimiter):gmatch("(.-)" .. delimiter) do
if match ~= nil then table.insert(pid_table, match); end
end
local flag = 0
local get_pid_name
if pid_table[1] ~= nil then
for c = 1, #pid_table do
get_pid_name = mq.TLO.Lua.Script(pid_table[c]).Name()
if get_pid_name ~= nil then
if get_pid_name == p_script_name then
flag = 1
-- print(get_pid_name, " ", pid_table[c])
break
end
end
end
else
return nil, nil, nil
end
if flag == 1 and mq.TLO.Lua.Script(get_pid_name).ReturnCount() == 0 then
return mq.TLO.Lua.Script(get_pid_name).PID(),
mq.TLO.Lua.Script(get_pid_name).ReturnCount(),
mq.TLO.Lua.Script(get_pid_name).Status()
end
return nil, nil, nil
end
local function script_status(p_script_name)
local script = mq.TLO.Lua.Script(p_script_name)
if script.ReturnCount() == 0 then
return script.PID(), script.ReturnCount(), script.Status()
else
return nil, nil, nil
end
end
This function does the same thing, but also begs the question, why do you need a function to do this?
Code:local function script_status(p_script_name) local script = mq.TLO.Lua.Script(p_script_name) if script.ReturnCount() == 0 then return script.PID(), script.ReturnCount(), script.Status() else return nil, nil, nil end end
lua script names are no longer case sensitive in latest update just posted today
local script_name = "work"
local script = mq.TLO.Lua.Script(script_name)()
returns nil which would ?should? be (true) bool if found?
but the way that does work is (either case)
local script = mq.TLO.Lua.Script(script_name).Status()
i don't really see a use for mq.TLO.Lua.Script(script_name)()
That would print nil if the script is running. or a comma delimited list of return values. neither of which seem useful to me.
What are the desired methods to pass variables to a lua the was ran by doing (/lua run)
My list
pass the variables in the command string at execution
write the data and have it read in the script that was run
but is there a third option to globally pass a variable to a running lua that is not asserted or required?
you're going to have to describe what you mean by "pass variables to a lua"
its really no different than /mac
Fortunately this is not an extinction level event, so we will let it pass.
you want the id of the slider to be stable. so it shouldn't have the amount in it.
I don't think the docking functionality is exposed to lua yet. Its in flux and changes every update so i am waiting on it to stabilize.




local mq = require('mq')
while true do
mq.cmd('/gsay "You are learning a brand new language, Feel Special eh?"')
mq.cmd(
' /gsay "Well you shouldnt because you are not learning it fast enough!" ')
mq.cmd(
' /gsay "Do you have any idea how much my mouth is gonna hurt after this?!" ')
mq.cmd(' /gsay "Study Study Study Hard" ')
mq.cmd(' /gsay "Practice makes stinkin perfect" ')
mq.delay(1)
end
that isn't swapping languages, did you leave some code out?Doubt this really needs to be made into a file but ...
just spams so you can learn a language while doing other things.. Well it is a re-tool of a mac that exists..
Code:local mq = require('mq') while true do mq.cmd('/gsay "You are learning a brand new language, Feel Special eh?"') mq.cmd( ' /gsay "Well you shouldnt because you are not learning it fast enough!" ') mq.cmd( ' /gsay "Do you have any idea how much my mouth is gonna hurt after this?!" ') mq.cmd(' /gsay "Study Study Study Hard" ') mq.cmd(' /gsay "Practice makes stinkin perfect" ') mq.delay(1) end
