Difference between revisions of "LSL Library"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
==Script Library==
==Script Library==


<br /> There are many [[script|scripts]] that have become buried in the [http://forums.secondlife.com/forumdisplay.php?f=15 Scripting Library forum], were lost with the death of the scripting forums, or sit idle in [[inventory|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.<br /><br /> 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.<br /><br />
<div id="box">
<div style="padding: 0.5em">
There are many [[script|scripts]] that have become buried in the [http://forums.secondlife.com/forumdisplay.php?f=15 Scripting Library forum], were lost with the death of the scripting forums, or sit idle in [[inventory|inventories]] that could be useful and should be more accessible.<br>
<br>
Other scripters may be in the same situation. This wiki is a well-suited medium for a script library. Feel free to add your scripts to the script library by creating new pages for them and linking to those pages here.<br /><br /> 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.<br /><br />
</div>
</div>


 
<div id="box">
'''Rules for posting:'''
== Rules for posting: ==
1. Prefix pages for the script library with "<tt>LSL_Library_</tt>" to keep the Wiki namespace clean. Example: LSL_Library_Hello_Avatar<br />
<div style="padding: 0.5em">
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.<br />
#Prefix pages for the script library with "<tt>LSL_Library_</tt>" to keep the Wiki namespace clean. Example: LSL_Library_Hello_Avatar
3. Add a link to your script's page here. Link back to this page from your script's page.<br />
#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.
4. Don't add scripts that duplicate the same functionality as an existing script. If yours does, explain why.<br />
#Add a link to your script's page here. Link back to this page from your script's page.
#Don't add scripts that duplicate the same functionality as an existing script. If yours does, explain why.
</div>
</div>


{| {{Prettytable}}
{| {{Prettytable}}
Line 22: Line 31:
||[[LSL_Library_Dialog_Module|Dialog Module]]
||[[LSL_Library_Dialog_Module|Dialog Module]]
||[[User:Strife_Onizuka|Strife Onizuka]]
||[[User:Strife_Onizuka|Strife Onizuka]]
||Create and handle dialog boxes through [[LSL_Event_link_message|linked messages]].
||Create and handle dialog boxes through [[link|linked]] messages.
|-
|-
||[[LSL_Library_Rotation_Functions|Experimental Rotation Math Library]]
||[[LSL_Library_Rotation_Functions|Experimental Rotation Math Library]]
||[[User:Strife_Onizuka|Strife Onizuka]]
||[[User:Strife_Onizuka|Strife Onizuka]]
||Collection of functions for working with [[LSL_Type_rotation|rotations]].
||Collection of functions for working with [[rotation|rotations]].
|-
|-
||[[LSL_Library_Float2Hex|Float2Hex]]
||[[LSL_Library_Float2Hex|Float2Hex]]
Line 51: Line 60:
|-
|-
||
||
[[LSL_Library_XyText|XyText]]
[[LSL_Library_XyText]]
||
||
[[User:Xylor_Baysklef|Xylor Baysklef]]
[[User:Xylor_Baysklef|Xylor Baysklef]]

Revision as of 22:04, 24 January 2007

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 your 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.

Rules for posting:

  1. Prefix pages for the script library with "LSL_Library_" to keep the Wiki namespace clean. Example: LSL_Library_Hello_Avatar
  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.
  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
Dialog Module Strife Onizuka Create and handle dialog boxes through linked messages.
Experimental Rotation Math Library Strife Onizuka Collection of functions for working with rotations.
Float2Hex Strife Onizuka Very useful for floats transporting.
Pseudo-Random Number Generator Strife Onizuka For use with secure communication through insecure mediums to reducing the risk of the communications protocol being hacked.
Texture Switcher Strife Onizuka Texture switcher that will step through the textures in an object's inventory, displaying them on all sides of the object.
Unescape Strife Onizuka Unescape escape codes in strings.

Universal Prim Torture Script

Strife Onizuka

Upgradable universal prim torture script.

LSL_Library_XyText

Xylor Baysklef

Display text (up to 6 characters) on a prim