Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008286opensim[REGION] Script Functionspublic2018-01-26 20:392018-01-26 20:39
Assigned To 
Statuspatch includedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008286: [PATCH] Adds osGetAgentUserLevel()
DescriptionAdd OSSL function to get the user level of the provided key. This would be useful to allow scripts to take some kind of action depending on what the level of the targeted user is.

string osGetAgentUserLevel(string agent);

Returns user level of agent provided as a string if the user is in the region else it returns an empty string.
Additional InformationTesting script

    touch_start(integer num)
        key toucher = llDetectedKey(0);
        string UserLevel = osGetAgentUserLevel(toucher);
        if(UserLevel != "")
            llWhisper(0, "Your user level is: " + UserLevel);
            llWhisper(0, "Error getting user level for '" + (string)toucher + "'");
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Environment.NET / Windows64
Mono VersionNone
Attached Filespatch file icon 0001-Implement-osGetAgentUserLevel.patch [^] (3,047 bytes) 2018-01-26 20:39 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-01-26 20:39 mewtwo0641 New Issue
2018-01-26 20:39 mewtwo0641 File Added: 0001-Implement-osGetAgentUserLevel.patch
2018-01-26 20:39 mewtwo0641 Status new => patch included

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker