Difference between revisions of "Getting Lua Scripts"
TPTSortaGuy (talk | contribs) (→tpt.getscript: added code and explanation) |
TPTSortaGuy (talk | contribs) (→TPT Script Manager: fixed a grammer issue) |
||
Line 14: | Line 14: | ||
== TPT Script Manager == | == TPT Script Manager == | ||
− | A simple method to get and manage scripts. Click | + | A simple method to get and manage scripts. Click online, then click the box beside a script to select it, then click download to get it. |
To get it, use this command: | To get it, use this command: | ||
<code>tpt.getscript(1, "autorun.lua", 1)</code> | <code>tpt.getscript(1, "autorun.lua", 1)</code> |
Latest revision as of 13:07, 4 July 2021
This page needs improvment. If you can help, HELP!
There are two ways to get scripts.
tpt.getscript
Gets a script from the server. This is required to get the second method: jacob1's script manager.
Here is what you type:
tpt.getscript(Number of script, "autorun.lua", 1)
Replace NUMBER OF SCRIPT with the.. well, number of script.
The number says what script to get, the "autorun.lua" tells it what to save to, and 1 is the server id (Starcatcher)
TPT Script Manager
A simple method to get and manage scripts. Click online, then click the box beside a script to select it, then click download to get it.
To get it, use this command:
tpt.getscript(1, "autorun.lua", 1)