User talk:Becky Pippen/Shared Media LSL Recipes

From Second Life Wiki
< User talk:Becky Pippen
Revision as of 02:51, 1 May 2024 by Peter Stindberg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Awesome examples!! 👏

I think they're so great, that I hope you don't mind that I've refreshened the styling to use the <syntaxhighlight> tag; not only it's the recommended way of submitting code here on the SL Wiki, but it also has many of the things that you use in your code, namely, highlighting a particular block of code. This can all be done by extra attributes passed to the <syntaxhighlight> tag, which is pretty much standard on most MediaWiki-based wikis out there, since almost all have implemented it; this, in turn, also means that your code is even "portable" across different wikis, if one day you wish to place it somewhere else!

Anyway... well done! You should get a SL Wiki award of some sort, if we had that kind of thing here! 🤣

Gwyneth Llewelyn (talk) 06:36, 28 April 2024 (PDT)

llReplaceSubStr

We have llReplaceSubString for a while now. So you can kick the UDF out of your examples.

-- Peter Stindberg (talk) 03:51, 1 May 2024 (PDT)