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

LSL Wiki : llEjectFromLand

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
llEjectFromLand(key user)

Ejects user from land that you own-- user will be automatically unsat if sitting.

Ejecting means pushing upwards and away from your land. This is not hindered by objects; ejected users will go right through them.

Note: when dealing with group land, the object owner must be the group. It won't work if the object owner is a member or officer in the group; the object itself must be deeded.
This seems to have changed. I've just been making a simple security system for a friend, and while testing it, to my surprise, it managed to eject me from the land even though I was still the owner of the object and the land is deeded to a group. I do have full abilities in the group though, and it still doesn't seem to work for llTeleportAgentHome without the object being deeded. Tested on the 5th of April 2009 on Second Life Server Version 1.25.6.113484. --EddyOfarrel
I've just found after some more testing that this now also seems to return any object that the person being ejected is sitting on, if they are the owner of it (even if they are the owner of the group that owns the land!). The object return message says it was returned by the group. --EddyOfarrel

Compare with llUnsit and llTeleportAgentHome.

This can be a possible cure to grief or just cause more grief. Be careful with this function!

Safe Example - James Benedek

default
{
state_entry()
{
llSetTimerEvent(5); //Makes the sensor low lag.
}
timer()
{
llSensor("",NULL_KEY,AGENT,95,PI);
}
sensor(integer num_detected)
{
if (llDetectedKey(0) == llGetOwner()) //So it Doesn't eject the owner.
{
llSleep(1);
}
if (llOverMyLand(llDetectedKey(0))) //Checks if AV is over your land.
{
llSetObjectDesc(llDetectedKey(0)); //Stores the AV key incase it ejects the wrong person.
llDialog((string)llGetObjectDesc(),"WARNING! you will be ejected from this land in 10 Seconds if you are still here!",["OK"],0); //Will dialog a warning message to the AV over your land.
llSleep(10); //Sleeps the script 10 seconds.
llEjectFromLand((string)llGetObjectDesc()); //Ejects the AV over your land.
}
}
}
}



Q: Hey, I am the creator of Dayton Home Security, and have been selling it no problem for months. Just this week new buyers have been IMing me and saying that Lindens are shuting them off. People have been saying that it's ejecting them even when they aren't on the owner's land. I used no llPushObject functions in this security, and llEjectFromLand has no power over land that is not owned by its owner. Anyone know what's going on?!? Beware. - Ryan Dayton
A:
Ejecting people from land as they innocently fly over it, sometimes at high altitude, is griefing and is against the TOS. You need to build in some kind of delay to your system, or something that doesn't send people home just because they had the nerve to glance or accidentally fly over the person's land for a few moments. Sometimes these people are in vehicles, and they lose their vehicles with systems like this. - Hank Ramos


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

functions | agent/avatar | land
There are 6 comments on this page. [Display comments/form]