Join us in Phaze Demesnes

LSL Script Library Home   Add a script Show All
Category: Contributor: Description
Cloaking Anonymous Cloak Objects by voice.lsl
CLoak objects by voice
Cloak Objects by voice.lsl

Download this script - Please use this link to get this script. If you see all the code on one long line, please use Wordpad or another editor, such as LSLEdit.exe. The .LSL file you will download is an ordinary text file.

1 // CATEGORY:CLoaking
2 // DESCRIPTION:CLoak objects by voice
3 // ARCHIVED BY:Ferd Frederix
4
5 default
6 {
8 {
9 key owner = llGetOwner();
10 llWhisper(0,"Cloaking ready");
11 llListen(0,"",owner,"");
12 }
13
14 listen( integer channel, string name, key id, string message )
15 {
16 if( message == "cloak" )
17 {
18 llSetStatus(STATUS_PHANTOM, TRUE);
19 llWhisper(0,"Cloaking");
21 }
22 if( message == "uncloak" )
23 {
24 llSetStatus(STATUS_PHANTOM, FALSE);
25 llWhisper(0,"Uncloaking");
27 }
28 }
29 }
30 // END //