local function rprMain(cmdid, flags) cmdid = reaper.NamedCommandLookup(cmdid) reaper.Main_OnCommand(cmdid, flags or 0) end