Second Life logo
Second Life
Create
Roadmap
Feedback
šŸ“ƒ SLua Alpha
48
Log in to your Second Life account to giveĀ feedback

    Boards

  • ✨ Feature Requests

  • 🪰 Viewer Bug Reports

  • Web/Marketplace Features

  • Web/Marketplace Bugs

  • Scripting Features

  • Scripting Bugs

  • Land & Public Works

  • Server Bugs

  • Scripted Agents

  • Character Designer

  • Browser-based Viewer

  • šŸ† SLua Showcase

  • šŸ“ƒ SLua Alpha

  • SLua Announcements

PoweredĀ byĀ Canny

šŸ“ƒ SLua Alpha

General discussion and feedback on Second Life's SLua Alpha
Allow ll.LinksetDataRead to return nil when the key pair does not exist in the data store.
ll.LinksetDataRead("key") and ll.LinksetDataReadProtected("key", "pass") both will return an empty string if trying to access a stored value that doesn't exist. Which is not "nil". Can we get it so that if a key pair does not exist in the LSD store that the return is actually a "nil" type instead? It would also return nil on a protected key with a bad "pass". We have access to the nil data type with SLua now, and it'd be more logical for a non-existent key to return nil for a simple boolean test. IMO. Just an idea at least. Added thought: maybe have "llcompat" have the return still be a zero length ("") string for, well, compatibility sake.
8
Ā·
tracked
PoweredĀ byĀ Canny