Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Restricting poseball use

Grissy Galiazzo
Registered User
Join date: 17 Dec 2006
Posts: 23
12-26-2007 12:57
Hi all.

I wonder if anyone has an idea where I can find a script (if such a thing exsists), that limits the use of poseballs (sit, kiss etc.) to named users please.

TIA
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-27-2007 04:47
iclude the following code in the regular poseball script

CODE

//-- at the top in the globals, Spelling Counts
list gLstAllowedAvs = ["Void Singer", "SomeRandom Avatar", "etc"];

//- in the changed event
key vKeySitter = llAvatarOnSitTarget();
if (llListFindList( gLstAllowedAvs, (list)llKey2Name( vKeySitter ) ) == -1){
llUnSit( vKeySitter ){
}


you can either copy the names in yourself, or use a notecard reader to supply them to the list
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Gabriellea Ferrentino
Registered User
Join date: 4 Oct 2007
Posts: 4
12-27-2007 10:56
I am SO gonna try this one! TY so much!!
Grissy Galiazzo
Registered User
Join date: 17 Dec 2006
Posts: 23
01-02-2008 09:14
From: Void Singer
iclude the following code in the regular poseball script

CODE

//-- at the top in the globals, Spelling Counts
list gLstAllowedAvs = ["Void Singer", "SomeRandom Avatar", "etc"];

//- in the changed event
key vKeySitter = llAvatarOnSitTarget();
if (llListFindList( gLstAllowedAvs, (list)llKey2Name( vKeySitter ) ) == -1){
llUnSit( vKeySitter ){
}


you can either copy the names in yourself, or use a notecard reader to supply them to the list


Happy new year! And thank you so much! I'll let you know how it goes :)