For usersThis script downloads a file from pastebin, developer may upload the script to pastebin and tell you the id and it does all the work for you. You should have luasocket. How to use: obtain the id, load the script, type download"id" into the console Example: download"a1LFV7RW" Should say "Script ... by ... was downloaded" , or give an error (if it does neither you probably have buggy luasocket) | For developersThis script defines a function that takes an id and fetches a respective paste from pastebin. To upload a script you upload it to pastebin, putting metacomments in (metacomments are comments in format --`FIELD=value ), read fields are NAME, AUTHOR, VERSION and FILE(name of file it will be saved to), then give users id of paste (http://pastebin.com/a1LFV7RW , the id is "a1LFV7RW") |
TPT already has a built in get script command (for official scripts).
Go ahead and try tpt.getscript("cracker64","multiplayer") The only bad thing is I can't update my script on the site yet, so it's an old version or I would advertise this option. I think Simon is working a bit more on the scripts portion of the site again.
This is a nice way for other users to do this though, awesome.
well then my lua socket is buggy...