OSSL Script Library
From OpenSimulator
(Difference between revisions)
m (→The Library) |
(→The Library) |
||
Line 23: | Line 23: | ||
| [[User:Fritigern|Fritigern]] | | [[User:Fritigern|Fritigern]] | ||
| A dialog controlled radio for OpenSim. Uses OSSL functions to read stations from a notecard, | | A dialog controlled radio for OpenSim. Uses OSSL functions to read stations from a notecard, | ||
+ | |- | ||
+ | | [[OSSL Script Library/Presentation Board|Presentation Board]] | ||
+ | | [[User:Phrearch|Phrearch]] | ||
+ | | A simple Presentation Board that slides through inventory textures... | ||
|- | |- | ||
|} | |} |
Revision as of 06:21, 14 October 2011
See the conference website for more details. |
Contents |
OSSL Script Library
Rules for posting:
- Your script MUST depend on at least one OSSL function, or on other OpenSim-specific functions.
- Test your script in-world, and make sure it works, so that other people can use it.
- No copies of scripts which already exist on this wiki, unless it exists in your own user page.
- Please, no short scripts, and definitely no one-liners!
- Make sure to read "Adding your script to the Library" for important info!
The Library
Script Name | Posted by: | Description |
ModSendCommand | Justincc | Demonstrates the use of an in-world script to communicate with a specific OpenSim module. |
OpenSim Radio | Fritigern | A dialog controlled radio for OpenSim. Uses OSSL functions to read stations from a notecard, |
Presentation Board | Phrearch | A simple Presentation Board that slides through inventory textures... |
Adding your script to the Library
- First select, right-click, and copy the following code:
|- | [[OSSL Script Library/SCRIPT_NAME|SCRIPT_NAME]] | [[User:YOURNAME|YOURNAME]] | DESCRIPTION
- Edit the Library section, and paste the above code to the end of the list,, but just above "|}"
- Replace "SCRIPT_NAME" with the name of your script. Make sure to change both instances.
- Replace "YOURNAME" with your wiki username. Make sure to change both instances.
- Replace the word DESCRIPTION with a short desription of what your script does.
- Click the "Show preview" button to check and see if everything works as it's supposed to.
- If something looks wrong, change whatever is not right, and click "Show preview" again.
- If everything looks okay, click the "Save page" button.
- In the table, look up the name of your script (it should be red) and click it. This will create a new page.
- In the new page, Type <source lang="lsl">. This will make the wiki recognise your script as LSL, and apply the correct source highlighting.
- Paste your script into the page.
- Immediately below your script, type </source>. This will tell the wiki where your script ends.
- Optionally add an introductory text, though you are encouraged to place usage instructions for your script in your script's comments.
- Preview the page by clicking the "Show preview" button.
- Make changes where nescessary and click the "Show preview" button again.
- Save your page by pressing the "Save page" button, and presto!