Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Pose Balls Poseball_just_owner  

Poseball_just_owner

Poseball just owner.lsl

Category: Pose Balls
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Poseball_just_owner
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Poseball_just_owner_1.lsl
1
2 init()
3 {
4 llSitTarget(<0.2,0.0,.5>, ZERO_ROTATION);
5
6 if(llAvatarOnSitTarget() != NULL_KEY) // if someone is sitting
7 llUnSit(llAvatarOnSitTarget()); // unsit him
8 }
9
10 default
11 {
13 {
14 init();
15 llSetText("Sit on me", <1.0, 1.0, 4.0>, 3.0);
16 }
17
18
19 changed(integer change)
20 {
21 if(change & CHANGED_LINK) // if a link change occurs (sit or unsit)
22 {
23
24 key owner = llGetOwner();
25 key agent = llAvatarOnSitTarget();
26 if(agent != NULL_KEY) // and there is someone sitting now
27 {
28 if(agent != owner)
29 {
30 llSay(0, "You are not allowed to sit here");
32 }
33 }
34 }
35 }
36 }// END //

Back to the Best Free Tools in Second Life and OpenSim.