Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local args = {...}
- function update()
- local fileName = shell.getRunningProgram()
- local paste = "1JgHefeA"
- term.setCursorPos( 1, -5 ) -- Hide the pastebin retrivial
- shell.run( "rm", fileName ) -- Delete the current program
- shell.run( "pastebin", "get", paste, fileName ) -- Update it
- shell.run( fileName ) -- Restart it
- end
- while true do
- local
- end
Add Comment
Please, Sign In to add comment