Handy little gadgets to bring to a script mod

 

Comment mark.  Aside from letting you annotate your scripts, the comment mark lets you hide inserted lines from the syntax checker.  That way, you can usually find errors by testing one or two lines at a time.  

If you do this, be careful about the code block enclosures {block}.  Be sure lines you comment out do not have braces that should not be removed.

//This is a comment
Copy and paste Ctrl +c and Ctrl +v (in Windows)
Make your own function.  Get it right once.  Use it often. User defined function
   
Search in site.  The major search engines all offer an option to search in a specific site.    For Google you can easily get a search in site by putting :thinkerer.org after the last search term.  (Be sure to space before the colon.) Search this site for any LSL function or other expression on interest to you.  You may find several example of use in scripts.  

Sample search in Google:
llSetTimerEvent :thinkerer.org

Finding the lost

 

Beacons

See underground:
Client>Rendering>Types>SurfacePatch

Insert the owner say line in your scripts to know what values the script is generating.  They may not be the values you expected. You can easily turn this line off with the comment mark.  llOwnerSay( (string) value);
  Errors into chat
The Thinkerer 09/13/2008
Copyright (c) D. F. Dansereau & S. H. Evans

Site Map

Where start?

LODScr
Famous fables