Join us in Outworldz at www.outworldz.com:9000 or follow us:
Want to add a script or a project? Upload it and a half million people will see it and your name here this year.
|Notecard Reader||The script|
|Notecard Reader||* Create a script // * Read each line of a note card // * Skip over comments // * Skip blank lines // * Notify the owner of the lines with unknown settings // o Unknown setting name // o Missing delimiter (equal sign) // * Notify the owner of missing configuration note card // * Detect when the notecard has been changed // * Offer case-insensitive settings // * Trim white-space from name/value settings // * Initialize with default values // * Detect that the name of the configuration file is a notecard // * Detect that you have reached the end of the file|
|Notecard Reader||The script.|
|Notecard Reader||There is an LL function that does this now: // llGetNumberOfNotecardLines // // This is a fast way to find the number of lines in a notecard. It is fast as is, and can be adjusted to be faster if you have an idea about the notecards you will be getting the size of. This is an implementation of a binary search.|
|Notecard Reader||Read Notecard DataServer Example.lsl|
Back to the Best Free Tools in Second Life and OpenSim.