by Brayla Sana | Jan 22, 2017 | LSL, Operators, OSSL, Wiki
Boolean operators behave like other operators such as +, -, *, / etc except the inputs and output can only take on two values. These values can be represented as TRUE and FALSE or 1 and 0 although any non zero value will generally be treated as TRUE. Unlike most...
by Brayla Sana | Jan 22, 2017 | Chat, Communications, Functions, LSL, OSSL, Wiki
llOwnerSay(string message) Says message to only the owner of the object running the script if the owner has been within the object’s simulator since logging into Second Life, regardless of where they may be in-world. Note: When the owner is not in the same sim...
by Brayla Sana | Jan 16, 2017 | LSL, Operators, OSSL, Wiki
OR places a 1 in the bitfield if either bitfields passed to it have a 1 in that position. If neither has a 1, it places a 0 in that position. Truth Table: OR 1 0 1 1 1 0 1 0 Usage: // A bitfield whose binary representation is: 00000000000000000000000000001010 integer...
by Brayla Sana | Jan 16, 2017 | Boolean, LSL, Operators, OSSL, Wiki
The AND operation compares each bit in two integers; if both bits are set to “1”, then the final result will be “1”, otherwise it will be “0”. This is done “per-bit”, or “bitwise”. Truth Table: AND 1 0 1 1 0...
by Brayla Sana | Jan 16, 2017 | Bitwise, LSL, Operators, OSSL, Wiki
Bitwise operators are used to manipulate integers that represent bitfields. Click on an operator below to scroll directly to the position of its description. Operator Name Usage Reference & AND integer & integer = integer | OR integer | integer = integer ~ NOT...