Don't click here unless you want to be banned.

LSL Wiki : llAddToLandBanList

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl427.us.archive.org
llAddToLandBanList(key agent, float hours)

Adds agent to the parcel ban list for the specified number of hours. A value of 0 for hours will add agent indefinitely. The smallest value hours will accept is 0.01; anything smaller will be seen as 0. When values that small are used, it seems the function bans in 30 second increments (Probably 36 second increments, as 0.01 of an hour is 36 seconds). Residents teleporting to a parcel where they are banned will be redirected to a neighboring parcel.

Q: So, I cannot ban someone unless he's nearby or I know his key, making the land ban mechanism on scripted objects pretty useless, correct?
A: You cannot ban someone unless they are nearby or you know their key - but this doesn't make it useless. See the example script on llHTTPRequest for an example of a Name2Key script.

To remove a user to the land ban list, use llRemoveFromLandBanList.

To add or remove users from the land pass list, use llAddToLandPassList and llRemoveFromLandPassList.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Teleport | Land
Comments [Hide comments/form]
I am writing a small-ish script and when I used llAddToLandBanList(id, 0.000278) (bans avatar with key 'id' from the parcel for 1 second), it seems their name stays on the parcel ban list after that one second is up. I have built an 'auto-prune' function to deal with this, but it is annoying none-the-less. Also, it seems that if you view the parcel ban list while the momentarily-banned avater is on your land, it will switch the ban to a permanent one. o_O

I've got a bit more testing to do (if someone wants to help me out, I'd be most appreciative; message Stryfe Lowell inworld) but it definately seems like this function doesn't work quite like one would expect it to.

--Stryfe
-- StryfeLowell (2006-08-28 08:08:06)
llEjectFromLand would probably accomplish the same thing as a one second ban.
-- KeknehvPsaltery (2006-08-28 12:13:00)
It would, but that's not my entire goal in this case. My script runs llUnSit, llEjectFromLand, and llAddToLandBanList in that order on any avatar specified. If I wanted to, say, punt someone for only ten minutes for a minor infraction, I would use the appropriate value in the second argument for llAddToLandBanList. After that ten minutes was up, that person would be able to come back on my land and do whatever.

Now, at this point, they are still actually ON the land ban list if you go to About Land on the pie menu, but as soon as you view that list, it permabans them, which is not the desired effect. One would logically expect that a person who was banned only for a specified period of time would have their name automagically removed from the ban list after that time frame expired.

Anyone willing to test this with me so I can provide a flawless repro for my upcoming bug report?

--Stryfe
-- StryfeLowell (2006-08-28 18:39:00)
Sure, Stryfe. Send me an IM in world.
-- JippenFaddoul (2006-08-30 19:48:22)
Attach a comment to this page: