Long story short, I’m working at one last attempt in an auto-updater for Codeler, and I needed to temporarily store raw gist data in a string, because since http.request uses separate functions for successes I can’t just return it normally. I tried creating a global variable called RAWGISTTEMP, saving it as the raw gist data, then outside of the http.request functions saying
local rawdata = RAWGISTTEMP
RAWGISTTEMP = nil
return rawdata.
For some reason RAWGISTTEMP was an empty string. I tried it with project data, and the same happened. I tried saving it in a tab, too. For some reason it wasn’t deleting the tab when it was done, but I also noticed it saved it correctly. I tried readProjectTab(“RAWGISTTEMP”) and it was an empty string. I have no idea why, but everything I try to access returns an empty string, even when I can see it’s not. Help?