Unofficial LSL Reference

[[wiki:macros]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:macros [2017-06-25 05:25 SLT]
sei keywords->language
wiki:macros [2019-05-10 08:30 SLT] (current)
sei Change function categories to admit 2nd param
Line 2: Line 2:
 ===== Macro Reference ===== ===== Macro Reference =====
 See https://​www.dokuwiki.org/​plugin:​macros for reference. See https://​www.dokuwiki.org/​plugin:​macros for reference.
-{{$nav=^ [[/Start]] ^ [[/​Functions/​]] ^ [[/​Events/​]] ^ [[/​Constants/​]] ^ [[/Types/]] ^ [[/​Articles/​]] ^$}}+{{$nav=^ [[/Start]] ^ [[/​Functions/​]] ^ [[/​Events/​]] ^ [[/​Constants/​]] ^ [[/Types/]] ^ [[/Language/]] ^ [[/​Articles/​]] ^$}}
 {{$globals=//​globals//​$}}{{##​ word "​globals"​ when refered to the globals declarations##​}} {{$globals=//​globals//​$}}{{##​ word "​globals"​ when refered to the globals declarations##​}}
 {{$ct=<​html><​kbd></​html>​**@0**<​html></​kbd></​html>​$}}{{##​ constant ##}} {{$ct=<​html><​kbd></​html>​**@0**<​html></​kbd></​html>​$}}{{##​ constant ##}}
Line 16: Line 16:
 {{$kw=''​**@0**''​$}}{{##​ keyword ##}} {{$kw=''​**@0**''​$}}{{##​ keyword ##}}
 {{$lkw=''​**[[/​language/​@0]]**''​$}}{{##​ keyword with link ##}} {{$lkw=''​**[[/​language/​@0]]**''​$}}{{##​ keyword with link ##}}
 +{{$lla=[[/​language/​@0]]$}}
 +{{$cc=**@0**$}}{{##​ constant category ##}}
 +{{$lcc=[[/​constants/​@0/​]]$}}{{##​ constant category with link ##}}
 +{{$fc=**@0**$}}{{##​ function category ##}}
 +{{$lfc=$??​[@1|[[/​functions/​@0`|@1`]`]|//​[[/​functions/​@0`]`]//​]$}}{{##​ function category with link ##}}
 +{{$ec=**@0**$}}{{##​ event category ##}}
 +{{$lec=[[/​events/​@0/​]]$}}{{##​ event category with link ##}}
 {{$op=''​**@0**''​$}}{{##​ operator ##}} {{$op=''​**@0**''​$}}{{##​ operator ##}}
 {{$art=@0$}}{{##​ article ##}} {{$art=@0$}}{{##​ article ##}}
 {{$lart=$??​[@1|[[/​articles/​@0`|@1`]`]|[[/​articles/​@0`]`]]$}}{{##​ article with link ##}} {{$lart=$??​[@1|[[/​articles/​@0`|@1`]`]|[[/​articles/​@0`]`]]$}}{{##​ article with link ##}}
-{{$prm=''​**@0**''​$}}{{##​ parameter citation within function ##}} +{{$prm=''​@0''​$}}{{##​ parameter citation within function ##}} 
-{{$pinf=**Infinity**$}} {{$inf=$pinf$}} {{$minf=**-Infinity**$}} {{$nan=**NaN**$}} {{$econst=**e**$}}+{{$pinf=**Infinity**$}} {{$inf=$pinf$}} {{$minf=**-Infinity**$}} {{$nan=<​html><​b><​abbr title="​NaN stands for Not a Number. It's a special value that floats can take, returned as the result of certain invalid operations.">​NaN</​abbr></​b></​html>​$}} {{$econst=**e**$}} 
 +{{$err=<color maroon>**@0**</​color>​$}}{{## error message ##}}
 {{$delay=Sleeps the script for @0 seconds.$}} {{$delay=Sleeps the script for @0 seconds.$}}
 {{$colorparam=A LSL color $lty[vector] (3 comma-separated RGB values in the range 0.0 to 1.0, between angle brackets)$}} {{$colorparam=A LSL color $lty[vector] (3 comma-separated RGB values in the range 0.0 to 1.0, between angle brackets)$}}
 {{$faceparam=An $lty[integer] value defining the face of the prim to be affected. $lct[ALL_SIDES] affects all faces.$}} {{$faceparam=An $lty[integer] value defining the face of the prim to be affected. $lct[ALL_SIDES] affects all faces.$}}
 {{$faceparamread=An $lty[integer] value defining the face of the prim to read from.$}} {{$faceparamread=An $lty[integer] value defining the face of the prim to read from.$}}
-{{$Mono=Mono$}} +{{$Mono=<​html><​abbr title="​Mono is the name of the modern virtual machine used to execute scripts.&#​10;​It is active when the Mono checkbox of the script is checked.">​Mono</​abbr></​html>​$}} 
-{{$LSO=LSO$}}+{{$LSO=<​html><​abbr title="​LSO (Linden Script Object) is the legacy virtual machine used to execute scripts.&#​10;​It'​s the one that is in effect when the Mono checkbox of the script is not checked">​LSO</​abbr></​html>​$}} 
 +{{$JIRA=**[[https://​jira.secondlife.com/​browse/​@0|@0]]**$}} 
 +{{$TODO=<​html><​!--TODO:​ @0--></​html>​$}}
 {{$linkparam=An $lty[integer] value defining the link number of the prim to be read. {{$linkparam=An $lty[integer] value defining the link number of the prim to be read.
  
Line 43: Line 53:
 ===== Test area ===== ===== Test area =====
 **This is a scratch area that can be overwritten. Used to preview macros.** **This is a scratch area that can be overwritten. Used to preview macros.**
-