i've added/modified these api functions
function luaLFS:scc(viewid, ingamecam)
local omsg = bpack("bbbbbbbb", 8, ISP_SCC, 0, 0, viewid, ingamecam, 0, 0)
luaLFS.sendmsg(omsg, string.len(omsg))
end
and
function luaLFS:bfn(...)
if(table.maxn(arg) == 1) then
local imsg = arg[1]
local n, psize, pty, reqi, subt, ucid, clickid, inst, sp3 = bunpack(imsg, "bbbbbbbb")
return {reqi = reqi, subt = subt, ucid = ucid, clickid = clickid, inst = inst}
elseif(table.maxn(arg) == 4) then
local subt, ucid, clickid, inst = arg[1], arg[2], arg[3], arg[4]
local omsg = bpack("bbbbbbbb", 8, ISP_BFN, 0, subt, ucid, clickid, inst, 0)
luaLFS.sendmsg(omsg, string.len(omsg))
end
end