Jump to content




Simple replacer

computer lua utility

  • You cannot reply to this topic
No replies to this topic

#1 Oct125

  • Members
  • 49 posts

Posted 13 December 2012 - 12:16 PM

Hello!
This is my first post in forum... So any error please tell-me ;)
I created a program that download a program from Pastebin e replace from a existing program in your computer!
I created this to help-me to debug my future OS in ComputerCraft.
But i decided to share it!
So there is! :D

Type in your computer:
pastebin get BQDmkusB re

How to use:

After download the program, run it! Typing:
re

Configure it, typing:
re <code of pastebin> <name of the program to replace>

Ok, now type only
re

And the program will delete the old program (stated in the config) download the new from Pastebin and will save instead the old.

I use the Notepad++ to make my prgrams, so after programming i copy the code and paste in Pastebin, and i download to computer (in-game), after change the code, i edit the paste in Pastebin, delete all content and put the new code instead the old, and i run this program! After change the code, i only have to edit the paste in pastebin and run this program! Good to edit files with other editor and debug the program in-game.

the code:
http://pastebin.com/BQDmkusB

Edit the code if you want, but, please, don't redistribute it as your own!

Any bug, suggestion or feedback, please, post here!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users