Copy and paste the script:default
{
state_entry()
{
llListen(42,"",llGetOwner(),"");
}
listen(integer channel,string name,key id,string message)
{
if(message == "open") llSetPrimitiveParams([PRIM_PHANTOM,TRUE]);
if(message == "close") llSetPrimitiveParams([PRIM_PHANTOM,FALSE]);
}
}