SphereCommunity
Let sphere reads new scripts without rebooting - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Let sphere reads new scripts without rebooting (/Thread-Let-sphere-reads-new-scripts-without-rebooting)



Let sphere reads new scripts without rebooting - Rizz - 01-09-2013 10:16 PM

Is possibile to upload a new script (in a known directory) and let sphere reads it without reboot?
Is there any way?


RE: Let sphere reads new scripts without rebooting - darksun84 - 01-09-2013 11:05 PM

I think it's serv.load path .

If i remember well the default path is scripts/ so for loading a new file that is inside a custom folder in the scripts directory, the command will look like
serv.load test/test.scp



LOAD file W Loads a script file.


RE: Let sphere reads new scripts without rebooting - Wap - 01-09-2013 11:29 PM

There are any problems with serv.resync?


RE: Let sphere reads new scripts without rebooting - darksun84 - 01-09-2013 11:35 PM

resync works only with files that are already loaded


RE: Let sphere reads new scripts without rebooting - Mordaunt - 01-09-2013 11:55 PM

In the console /load folder/folder/filename.scp


RE: Let sphere reads new scripts without rebooting - htid4life - 01-10-2013 01:59 AM

resync works with any script added to the script folder. new or old scripts. or use

serv.load /folderhere/nameofscript.scp


so if i added a script to the items folder it would be

serv.load /items/newitems.scp


RE: Let sphere reads new scripts without rebooting - Wap - 01-10-2013 06:03 AM

(01-09-2013 11:35 PM)darksun84 Wrote:  resync works only with files that are already loaded
No, if the file is located in the main script folder.