StringIsValidKey

From Second Life Wiki
Revision as of 14:33, 27 August 2012 by Zion Tristan (talk | contribs) (Replaced content with "{{LSL Header}} '''This will not check if the key given actually references an asset, agent/group, instance, or terrain).''' ''Checks with other functions and the given key c…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This will not check if the key given actually references an asset, agent/group, instance, or terrain). Checks with other functions and the given key can be used for this.

<lsl> key temp = (key) input;

if(temp) llOwnerSay("Input is a valid key!"); else llOwnerSay("Input is not a valid key!"); </lsl>