💬

Community answer

Collected from the ACE community Discord archive around 2024-01-28. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Fetching and running remote code via http.get

🌙 LuaUpdated 2 days ago•0 views
http.get(url, function(data) func,err = loadstring(data); if err then print(err) else func() end end) - the page must contain only code and nothing else.

How to make a chip download code from a pastebin/URL and run it

http.get(url, function(data) func,err = loadstring(data); if err then print(err) else func() end end) - the page must contain only code and nothing else.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.