LSL Wiki Mirror : ScriptLibrary

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::

Script Library


There are many scripts that have become buried in the Scripting Library forum, were lost with the death of the scripting forums, or sit idle in inventories that could be useful and should be more accessible. Other scripters may be in the same situation. This wiki is a well-suited medium for a script library. Feel free to add scripts to the script library by creating new pages for them and linking to those pages here.

Proper etiquette for the library is to not edit someone else's script because you think your way is better, but rather to post your own version, linked from and back to the original.

There is a companion particle library that contain particle systems.

Rules for posting:
1. Prefix pages for the script library with "Library" to keep the Wiki namespace clean. Example: LibraryEventLottery
2. Your script must be tested and working. If it's not, stick it on your own username page until it is. This is a list of working, usable scripts.
3. Add a link to your script's page here. Link back to this page from your script's page. Also, keep this list in alphabetical order.
4. Don't add scripts that duplicate the same functionality as an existing script. If yours does, explain why.

Name Creator Description
Hello Avatar Linden Lab SL's default script
ASCII ChadStatosky ASCII <-> int
AirSeaAltimeter OoPsGalatea A pretty decent air/sea altimeter.
AltPickPocket MitzpatrickFitzsimmons Transfer Money from your Alt's account without logging them in.
AvatarInSim SiRiSAsturias Detect if an avatar is in the same sim or not... reliably.
Barometer CidJacobs Check Barometric Pressure.
Bezier Curve Demo LionelForager Draws a bezier curve in 3D given by 3 control points.
Builders' Buddy NewfiePendragon Large building positioning/movement utility.
Builders' Tabs TimelessPrototype Advanced precision builder's tool.
Camera Sync MeyermagicSalome and NomadPadar Camera Synchronization utility
Color Scripts KagePixel Convert from HSB to RGB and back.
Channel Number Generator PetreLamar Given a text string, generate a (relatively) unique channel number.
PublicBillboard Chasingred3Ixtab A Public Cycling Texture Billboard.
Conversation AI AmaOmega Simple conversation tree (Eliza-like).
Camera Follower ArkLehane Follows just above your camera.
Chat Extension Module ChristopherOmega Allows transfer of >255 character strings over chat, via Packet Chat Protocol.
Create a flying pet CatFart A worked example on how to create a small flying object using physics-based movement.
Case Insensitive Listen rezzer Chasingred3Ixtab Case insensitive listen rezzer.
DanceBall AsiraSakai This script plus dance animations in a prim create a clickable danceball.
Day of the week RichardSolvang Figure out what day of the week a given date is.
Deluxe Door EzharFairlight A door with some extras. See also: the new Timeless Linked Door.
Dialog Module StrifeOnizuka Create and handle dialog boxes through linked messages.
Dump Prim Parameters PierreJosephProudhon Dump prim parameters to a LSL code string that can be fed to llSetPrimitiveParams
Eliza Chatbot DedricMauriac Parady of a Rogerian therapist
Email Extension Module ChristopherOmega Allows scripts to send emails without delay and receive emails without a timer.
Simple Email Parser PlowboyLifestyle Breaks an email header into local variables with some error checking.
Event Lottery AmaOmega Randomly choose a winner from a list of people without duplicates.
Experimental Rotation Math Library StrifeOnizuka Collection of functions for working with rotations.
Fade Texture NashBaldwin Smoothly drop texture alpha using exponential fall-off.
Fast Find AmaOmega Fast find number of lines in a notecard (binary search).
Fix Repeats Per Meter NashBaldwin Make a building by roughly positioning walls, then drop this script on each prim. It rescales to grid, positions to grid, and fixes repeats per meter, then deletes self.
Flight Assist MorphWollongong Flight assist HUD controller script
Float to Hex StrifeOnizuka Very useful for floats transporting.
Fractal Generator SeifertSurface Generates fractal "trees". User friendly.
General Menu Engine ZonaxDelorean A menu system engine that lets you define menus then easily use them.
Get Day of Week DoteDoteEdison Alternate method to get day of week from llGetUnixTime.
Give Inventory DedricMauriac Gives inventory and checks permissions
Go Game JonathanShaftoe A fully working Go game board.
IGS (In Game Data Server) ViceroLambert A simple LSL server.
Keyboard while typing MaxCase A simple keyboard while you type.
Link Numbers Getter KankerGreenacre Simple function for keeping track of the links in your object.
Listening Texturer VirusCollector Small script to change a texture to any key you say.
Millisecond Time MinskOud Timezone-aware and millisecond-granuality time and formatting functions.
MitzFader MitzpatrickFitzsimmons Object Alpha Fader Transition Effect
Multidimensional Array API ChristopherOmega Store data in lists as you would in a standard C++/Java multidimensional array.
MultiTitler TigroSpottystripesKatsu A basic titler that enables you to wear more than one titler at once and set them individually
NewbieNag KexGodel Give a notecard to a new resident below a certain age
Notice Giver Joker Opus Gives notices to anyone within 96 meters
Parametric Surface Rezzer SeifertSurface Rezzes a surface defined by an arbitrary parametric equation of two variables.
Passwall AsiraSakai This script will allow you to set up a solid wall that lets certain people pass through it.
Pose Ball Script, version 4.3.2 SimonRaven and others pose ball script, updated.
Particle Script 1.1 KeknehvPsaltery A very efficient script for the creation and inclusion of particle systems. Albeit not the best if you are just learning, but excellent if a particle system is needed for something else.
Particle Script 1.2 JamesHanner An added feature to the above script.(Has a new key setter instead of just owner and self)
Particle Script 0.5 AmaOmega Create particle systems and play around with the settings.
Particle Script 0.5a EepQuirk An optimized version of the above script.
Polygon Former JontteGremlin Code snippet that will form a triangle between 3 vectors. Can be used, for example, in 3d model loaders.
PortRing Creator Neo Rebus A system to automatically create a teleporter system from a central "base" location to a number of outlying "stations".
Pseudo-Random Number Generator StrifeOnizuka For use with secure communication through insecure mediums to reducing the risk of the communications protocol being hacked.
Radar SableTill Fairly complete scanner that includes details on distance, time in vicinity and direction
RadioStation AsiraSakai Add lists of radio stations, descriptions, and authorized station changers, and authorized users can change parcel music urls.
Random Hovertext Colour KopiloHallard Sets hovertext on an object and changes the colour to a random colour every 0.5 seconds
Rope Constraint ComradePodolsky Links two objects by a physical emulation of a rope-like constraint and uses particles to visually represent it.
Runtime Environment ReadyJack Detailed detection of object environment changes like dropping or wearing. Also detects logins!
Sailboat Script KankerGreenacre Flying Tako sailboat
Self Upgrading Script MarkovBrodsky Keeps only latest version on prim
Self Upgrading Script Enhanced CronStardust Keeps only latest version of the script on prim (Even with multiple adds of the same script!)
Self Upgrading Script Alt DamekTretiak Updates each child-prim with a given script
Serialize ShadowGretzky Implements 'float-safe', reasonably quick serialization and unserialization of list types
Set Text Once EpikTetus Drop it on an object, say "/3 This is Red", the floating text changes and the script deletes itself.
Settings Notecard KonigmannLippmann Loads values from a notecard so scripts can be customized by user.
Simple Cypher AmaOmega A simple password-based substitution cypher.
Simple Disappearing HoverText KonigmannLippmann A simple demonstration of how to remove hover text when an avatar sits on the prim.
SLPrint AmaOmega A function to print formated data, including hexidecimal and fixed-point floats.
Strided List Functions AakanaarLaSalle Functions for working with strided lists.
Swarm ApotheusSilverman This implements the widely-available swarm algorithm in SL.
Teleporter AsiraSakai This teleports the object and the person sitting on it within the simulator.
TextureSwitcher StrifeOnizuka Texture switcher that will step through the textures in an object's inventory, displaying them on all sides of the object.
Thermometer CidJacobs Check Temperature.
TimeElapsed ChromalBrodsky When called twice, will give the time elapsed with millisecond precision.
Timeless Linked Door TimelessPrototype Full-featured door script for doors that are linked to other prims.
Timer Enhancer ChristopherOmega Grants more precise control over timers.
Unescape StrifeOnizuka Unescape escape codes in strings.
Universal Prim Torture Script StrifeOnizuka Upgradable universal prim torture script.
Product Update Server Comet Aero Updates product upon request
Vendor Script AmaOmega A simple vendor
Vigenere Cipher DolusNaumova A polyalphabetic substitution cipher.
WarpPos KeknehvPsaltery A function that allows one to do instantaneous non-physical movement
NumRs NornAlbion Display numbers on a prim - maximum of 3 per prim
Position HUD GigsTaggart Moves a HUD to a same position in any attach point.
Timestamp Difference BenFassbinder Calculate the difference in seconds between two timestamps.
Wind Turbine CidJacobs Estimates approximate watts stored from wind powered turbines.
XyText XylorBaysklef Display text (up to 6 characters) on a prim
XyText 1.2 KermittQuirk, ThraxisEpsilon Display text (5 or 10 characters per prim)
LibraryMultiChannelListener AnorcaCalamari Listen on any set of 50 channels
LibraryInstantMessageAnyone AnorcaCalamari Instant messager script
LibraryTrueTele AnorcaCalamari Teleports you anywhere you are allowed
LibraryParticleGarden ZaraVale Randomly rezzes textures in your object, to form a particle garden, the flowers also grows slowly!
LibraryParticleSignboard ZaraVale 1 Prim Signboard that can change via a chat channel
LibraryPrecisionTime SendaoGoodman Precision timer for accurate timing in SL
LibrarySenWarp SendaoGoodman Warppos replacement.
LibrarySenRot SendaoGoodman Smooth nonphysical rotation. May cause lag. ;)
Word Scrambler SecondProctor Scrambles anything you want.
RandomVector WarKirbyMagojiro Produces a random vector
clrchanger SecondProctor Changes the color of a whole object from 1 script.

Q: What's the difference between the Script Library and the Examples page?
A: The Script Library is for full scripts. Examples is best suited for explaining specific functions or parts of scripts.


Particle Library | Examples
There are 14 comments on this page. [Display comments/form]