Shazam = 0pen/unlocked: wall is invisible and you can walk through it.
Presto = Closed/Locked, alpha shows all of texture and you cannot walk through it.
CODE
//Phantom Alpha Door or Wall by ArchTx Edo
//This script uses voice-chat commands to make a door or wall open/close and lock/unlock using voice/chat commands on channel 5.
//
default
{
state_entry()
{
//llListen(5,"",llGetOwner(),""); //only owner can change it.
llListen(5,"","",""); //anyone can change it.
}
listen(integer chan, string name, key id, string msg)
{
//------------------------------------------------------
if(msg=="presto")//close
{
llSetAlpha(1,ALL_SIDES);//1.0 shows all of the texture, no transparency.
llSetStatus (STATUS_PHANTOM, FALSE); //FALSE object collides with others (is not phantom), you cannot walk thru it.
}
//------------------------------------------------------
if(msg=="shazam")//open
{
llSetAlpha(0,ALL_SIDES);//0.0 shows none of the texture, it is transparent.
llSetStatus (STATUS_PHANTOM, TRUE); //TRUE object does not collide with others (is phantom), you can walk thru it.
}
}
}