by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
integer llGetPermissions(); Returns which permissions have been granted. The return value will be a bitmask of the following values: Constant: Result Allows PERMISSION_DEBIT Permission to take money from agent’s account. Use of llGiveMoney....
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
key llGetPermissionsKey() Returns avatar key for which permissions have been granted or NULL_KEY if none have been granted. Compare with llRequestPermissions and...
by Brayla Sana | Jun 25, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
Function: integer llGetRegionAgentCount( ); Returns an integer that is the number of avatars in the region. Caveats The value returned by this function is technically the average number of agents who were in the region for the past second, rounded to the nearest...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llGiveMoney(key destination, integer amount) Transfers amount of Linden dollars from the script owner to destination. Requires the PERMISSION_DEBIT run-time permission. destination can only be an avatar, not an object or a group. The recipient does not need to be in...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llInstantMessage(key user, string message) Sends an IM to user containing message and delays the script for 2 seconds. This delay exists to prevent IM spamming. To message the object owner, llOwnerSay(messsage) is the best option as it does not delay the script. To...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
string llKey2Name(key id) If the object or agent identified by the key id is in the same simulator as the object containing the script, this function returns their name. Otherwise, an empty string (“”) is returned. This can be misleading, because it...