|
DeeJay Kamachi
Registered User
Join date: 19 Apr 2007
Posts: 89
|
05-04-2008 05:10
Hiyas, I was wondering if it was possible to script a region/estate ban instead of just a land ban. I own a sim and am trying to create a tool (banhammer) that will instantly add people to the region/estate ban list. other functions I am curious about scripting wise: TP home and freeze. I haven't seen any functions related to them so I'm assuming there is no way to do this. Please correct me if I'm wrong  Also is there a way to counter the issue of group deeded land? Currently I cannot reclaim my land because it wouldn't allow my managers to then be able to access admin options. If the land is deeded then the land-ban function (not region/estate) does not work.
|
|
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
05-04-2008 07:22
You Need these Functions: 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. llTeleportAgentHome(key id) If the scripted object is over owner's land, teleports agent id immediately to that agent's home location. The agent is not asked for confirmation. 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. That should get you started 
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-04-2008 10:18
There is no way, at present, to script anything at the Estate level, because Estates are actually multi-region entities, and scripts are region-only.
As such, the best you can do is parcel-level, but that requires objects on every parcel in the region/estate to work properly.
Also, to get scripts to work on group-owned/deeded land, you have to also deed the object with the script to the same group the land is deeded to. Then it will work.
|