OsGetGender

From OpenSimulator

Revision as of 22:29, 29 May 2015 by Dahlia (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
string osGetGender(key id)
C#: LSL_String osGetGender(LSL_KEY id)
Returns a string with one of the following values: "male", "female", or "unknown".
Threat Level None
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
//
// Example of osGetGender.
//
default
{
    touch_start(integer total_number)
    {
        string gender = osGetGender(llDetectedKey(0));
        llSay(0, "Your gender is:" + gender);
    }
}
Personal tools
General
About This Wiki