Hi everyone,
I'm new to scripting and i would like to ask a question about how to organize code. Personally i dislike a high number of global vars or having one event that handles multiple operations (like dataserver), so im thinking to use multiple scripts that do small pieces of code. I know the first reply would be that idle scripts consume memory, but do they still consume memory if i stop them (llSetScriptState)?
For example, have one script to return avatar key, another to
Change debug setting ExternalEditor to "C:\Program Files\Microsoft VS Code\Code.exe" "%s"
(adjust as required for your editor wherever it may be installed)
The work flow is now, open a script in the viewer, make the script edit floater nice and small (you still need to see it for errors as LSL is compiled on the server, not locally), press the "Edit..." button on the script floater, the script will open in your external editor and reset in world. When you save your script in the exter