I use basically the Second Life "New Script" standard format. This means that I for each open and closed curly clamp {} start a new line. So I always see immediately without consuming to have to read everything exactly where I possibly forget one. Because for each clamp is opened, the function with the appropriate counterpart to be closed again. Furthermore, I separate each new event with a completely empty row. This helps me keep the overview, you can see at some point because many trees not the forest.
Info
unprocessed content
Don't worry, the empty rows, the clamps and the comments will not increase the memory of the script.
default{state_entry(){//<--- open clamp (new line)llSay(0,"Hello, Avatar!");}//<--- closed clamp (new line)//<--- empty row between two eventstouch_start(integertotal_number){//<--- open clamp (new line)llSay(0,"Touched.");}//<--- closed clamp (new line)}
default{state_entry(){//<--- open clamp (new line)llSay(0,"Hello, Avatar!");}//<--- closed clamp (new line)//<--- empty row between two eventstouch_start(integertotal_number){//<--- open clamp (new line)llSay(0,"Touched.");}//<--- closed clamp (new line)}
Ich benutze grundsaetzlich das Second Life "New Script" Standardformat. Das bedeutet, dass ich für jede offene und geschlossene geschwungene Klammer {} eine neue Zeile beginne. So sehe ich immer sofort, ohne dass ich alles genau lesen muss, wo ich moeglicherweise eine vergessen habe. Denn fuer jede geoeffnete Klammer wird die Funktion mit dem entsprechenden Gegenstück wieder geschlossen. Außerdem trenne ich jeden neuen Event durch eine komplett leere Zeile. Das hilft mir, den Ueberblick zu behalten, denn irgend wann sieht man den Wald vor lauter Baeumen nicht mehr.
Keine Sorge, die leeren Zeilen, die Klammern und die Kommentare werden den Speicher des Skripts nicht vergroessern.
Changed several prims in linkset with the same parameters, with a list. Without separate llSetLinkPrimitiveParams for each prim. (ideal for show/hide effects)
This is an Open-Source version of a Rental-Cube from Daemonika Nightfire. Just copy/paste this script into a inworld lsl-script and add one notecard called Info/Rules to the content of your cube.
With this script, find all that are specified in the list when the Sim is back after a restart. So you must then not always look on the map, if the sim is back there.
This simple hover text-based script is used to shop owners in Second Life, customers at the current display name and user name to display publicly. Additionally shows the status of the Userkey and online. Furthermore, there are click of a chat link that opens the profile owner.
I never use a particle generator. This Particle-Script serves me as a Basis for all of my Particle-Effects.
More scripts and snippets follow in the future.
My fast blanko Textures
Large Textures need long Time to load!
I created this very small Textures in order to equip unimportant surfaces, because all the Textures are rendered by the Viewer.
If many surfaces are equipped with those little textures rez the Sim faster.