Category:LSL Examples
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Example Scripts
Come to this page to see short examples of how to use parts of LSL.
Go to the Script Library page to see more complex examples that show how to combine parts of LSL.
For documentation of a User Function you can use the LSL Function template with parameter mode=user set. It's very important to set this parameter to avoid adding the User Function to the Index of Standard LSL Functions! You can get a prototype of the template for filling in the blanks here.
Pages in category
- 32bit Hash
- ARCFOUR Strong Encryption Implementation
- Angle Between Two Vectors
- Animation triggered sound loop
- Authenticated Chat
- AutoHUD constructor
- AvatarFollower
- Bartender
- Base2Dec
- Be happy
- Big red button.lsl
- Bullet
- Camera following prim
- CameraSynch2
- Chat Relay
- Chr
- Clock
- Code Racer
- Code Sizer
- Color Cycle
- Color conversion scripts
- Color-to-Vector Tool
- ColorConvert
- ContinentDetector
- Dataserver API
- Dataserver corrected sensor display
- Day of the Week
- Days Since
- Describe Chatter
- Dialog Message
- DialogPlus
- Display Names to Key
- DoorHax
- Double Tap Detection
- Efficiency Tester
- Efficient Hex
- EscapeXML
- ExplodingObjects
- FindScreenWidth
- Fixed Precision
- Float2String
- FollowCam
- Follower script
- Format Decimal
- GenUUID
- GenerateKey
- GetTimestampOffset
- Ghost Detector
- Google Charts
- GradientValue
- Greeting Card
- Group Inviter with AdminBot
- Group invitation
- Gun and Holster
- HTTP Server URL Registration
- Hello Avatar
- Hello Avatar Companion
- Hex
- How do I make a donation box?
- ITunes RPC Email
- Interpolation/Catmull-Rom/Float
- Interpolation/Cosine/Float
- Interpolation/Cosine/Rotation
- Interpolation/Cosine/Vector
- Interpolation/Cubic/Float
- Interpolation/Cubic/Rotation
- Interpolation/Cubic/Vector
- Interpolation/Hermite/Float
- Interpolation/Hermite/Vector
- Interpolation/Linear/Float
- Interpolation/Linear/Rotation
- Interpolation/Linear/Vector
- Interpolation/Linear/Vectors
- Interpolation/Rescale/Float
- Interpolation/Rescale/FloatFixed
- Interpolation/Spline/Vectors
- Interpolation/Target/Float
- Inventory Based Menu
- InverseKinematics2D
- InverseKinematics3D
- IsPointInPolygon2D
- JSON Web Token in LSL
- JVA Auto Group Inviter
- Json multi sit array
- Jump Limiter
- Key Pad Door
- Key2RGB
- LSL HTTP server/examples
- Landmark2slurl
- Left
- Letter Positioning
- Library Chat Relay
- Library Cycle Dialog Items
- Like
- Link Messages
- Linkset resizer
- Linkset resizer with menu
- List cast
- List2ListLoop
- ListCast
- ListCompare
- ListItemDelete
- ListItemReplace
- ListStridedMove
- ListStridedRemove
- ListStridedUpdate
- ListToWholeNumbers
- ListUnique
- ListXandY
- ListXequY
- ListXneqY
- ListXnotY
- ListXorY
- ListXxorY
- LlSetPrimMediaParams/Tricks
- LlTargetOmega Replacement
- Lot Reservation
- MD4
- MD5
- Max
- Merge Sort
- Meter2Feet
- Microphone
- Min
- Minesweeper
- Move to target
- MySay
- MySayOwner
- Name2Key in LSL
- NameTest
- NewLine
- No Limit Teleporter
- Notecard reading
- NumberFormat
- Ohms Law Calc
- Online Indicator
- Open Group Join
- Ord
- PSYS Template
- Phantom Child
- Prefix Calculator
- Prim Properties
- RLV Viewer Titler
- Random Object Vendor
- RandomPrimParams
- RandomString
- RecursiveDialog
- RemoveHTMLTags
- Resource Impact Calculator
- Right
- Right Shift
- Rotation that points from A to B
- SHA-1
- SHA-2
- SLURL HUD
- Say Region Frames Per Second
- SbDialog
- Script Override Functions
- Script:Random Sounds
- Script:Synch Sound
- Script:Wind Powered Random Sounds
- Seedable PRNG
- Self-Destruction
- Send home and ban avs less than description field days old
- Separate Words
- Simple Encryption
- Simple Piggy Bank
- SimpleDialogMenuSystem
- Slice List String Etc
- Smooth Rotating Linked Door With Hinge
- Sneakin
- Sound Preloader
- SplitLine
- String Compare
- String2Float
- Stristr
- Tail Messages (NewAge)
- Text To Byte Conversion
- Texture Cycle
- Texture Menu Management
- TimeAPI Clock Script
- TimeAgo
- Toggle States
- Tool-Texture cube hollow face
- Touch A Quote
- Typing linkset alpha toggle
- URIGenerator
- UUID2Channel
- UnPackerAll
- Update distributor
- User/Digit Ditko/experience hud basic script
- User:Becky Pippen/Shared Media LSL Recipes
- User:Kuraiko Yoshikawa/LSL/contact from outside
- User:Kuraiko Yoshikawa/sandbox/LSL Goodies/KVNSB
- User:LindaB Helendale/UTF8StringLength
- User:LindaB Helendale/rot2roll pitch yaw
- User:Quinn Elara
- User:SignpostMarv Martin/LSL/SL NTPoHTTP v1.1 client
- User:Takat Su/Name2Key
- User:Ugleh Ulrik/ListKeyCase
- Variables Example
- Visit Monitor
- Vote Simple
- Watchdog
- Who
- WrapText
- XTEA Strong Encryption Implementation