LlGetEstateBanList: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
No edit summary
 
Strife Onizuka (talk | contribs)
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL_Function|func_id=REQUEST|func_sleep=0.1|func_energy=10.0|func=llGetEstateBanList|sort=llGetEstateBanList|func_desc=Returns a list of all agent names currently banned on Estate.
{{LSL_Function|func_id|mode=request|func_sleep=0.1|func_energy=10.0
|return_text|spec|caveats|examples|helpers|related|also|notes=we can add, and we can remove bans - but we can't fully manage the estate ban list to its full potential.  While the 300 name limit is generous, we could leverage this function to know exactly what is on the estate ban list at all times, and fully sync it up with an external database.}}[[Category:LSL_Security|AddToLandBanList]][[Category:LSL_Stub]]
|inject-2={{LSL_Function/negative_index|true|start|self=self}}
|func=llGetEstateBanList|sort=GetEstateBanList
|func_desc
|p1_type=integer|p1_name=start|p1_desc=index
|return_text=(50 entries after position '''start''') of agents (UUID) banned on the estate.
|return_type=list
|spec
|caveats=*It is limited to returning 50 entries to keep the script from crashing. (300 * 43 bytes = 12900 bytes)
|examples
|helpers
|related
|also
|notes=we can add, and we can remove bans - but we can't fully manage the estate ban list to its full potential.  While the 300 name limit is generous, we could leverage this function to know exactly what is on the estate ban list at all times, and fully sync it up with an external database.
}}

Latest revision as of 20:07, 10 June 2012

LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: list llGetEstateBanList( integer start );
0.1 Forced Delay
10.0 Energy

Returns a list (50 entries after position start) of agents (UUID) banned on the estate.

• integer start index

start supports negative indexes.

Specification

Index Positive Negative
First 0 -length
Last length - 1 -1

Indexes

  • Positive indexes count from the beginning, the first item being indexed as 0, the last as (length - 1).
  • Negative indexes count from the far end, the first item being indexed as -length, the last as -1.

Caveats

  • This function causes the script to sleep for 0.1 seconds.
  • If start is out of bounds the script continues to execute without an error message.
  • It is limited to returning 50 entries to keep the script from crashing. (300 * 43 bytes = 12900 bytes)

Examples

Notes

we can add, and we can remove bans - but we can't fully manage the estate ban list to its full potential. While the 300 name limit is generous, we could leverage this function to know exactly what is on the estate ban list at all times, and fully sync it up with an external database.

See Also

Articles

•  Negative Index

Deep Notes

Signature

//function list llGetEstateBanList( integer start );