Anyhow, basically I want to know how to implement paste bin's "run" feature into my program. How would I do this and could this be explained line-by-line?
Sorry for any mistakes, auto-correct on Mac OSX is annoying sometimes.
How to fix(for anyone who's searched here or found this looking for help)
First of all, you do
variable = http.get("http://pastebin.com/raw.phpi=PASTEIDHERE")
then you do
variable = loadstring(variable)
Then
setfenv(variable, getfenv())
then run variable in any way you want and you will have all your global functions and variables inside it but not local variables.
Edited by Hithere__, 27 April 2014 - 05:28 AM.












