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-09-20 06:52 SLT]
sei Add JIRA macro
wiki:macros [2019-05-10 08:30 SLT] (current)
sei Change function categories to admit 2nd param
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 ##}} {{$cc=**@0**$}}{{##​ constant category ##}}
 {{$lcc=[[/​constants/​@0/​]]$}}{{##​ constant category with link ##}} {{$lcc=[[/​constants/​@0/​]]$}}{{##​ constant category with link ##}}
 {{$fc=**@0**$}}{{##​ function category ##}} {{$fc=**@0**$}}{{##​ function category ##}}
-{{$lfc=[[/​functions/​@0/​]]$}}{{##​ function category with link ##}}+{{$lfc=$??[@1|[[/​functions/​@0`|@1`]`]|//​[[/​functions/​@0`]`]//]$}}{{## function category with link ##}}
 {{$ec=**@0**$}}{{##​ event category ##}} {{$ec=**@0**$}}{{##​ event category ##}}
 {{$lec=[[/​events/​@0/​]]$}}{{##​ event category with link ##}} {{$lec=[[/​events/​@0/​]]$}}{{##​ event category with link ##}}
Line 26: Line 27:
 {{$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]]**$}} {{$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.