And this is the full switch script:
// Menu Driven Window Tint Script
//Window tinting script using menu based options for a two story building, but can be modified however you'd like for whichever building style you have. This script controls several windows with one controller, varying the tinting from window to window as you choose the transparency level.
//
// This program is resell software; you can redistribute it and/or
// modify as version 2.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// Please remember, we do not offer support for this script; your use of
// this script is your acknowledgement and agreement to the above
// terms.
//
// DO NOT REMOVE THE ABOVE HEADER FOR ANY REASON WHATSOEVER.
// Window Controller Script (put into controller prim)
list TINT_OPTIONS = ["40%", "20%", "None", "100%", "80%", "60%"];
list WALL_OPTIONS = ["Lower Front", "Lower Back", "Lower Sides", "Upper Front", "Upper Back", "Upper Sides", "Ceiling", "All"];
integer UPPER_FRONT = -28394;
integer LOWER_FRONT = -28395;
integer UPPER_BACK = -28396;
integer LOWER_BACK = -28397;
integer UPPER_SIDE = -28398;
integer LOWER_SIDE = -28399;
integer CEILING = -28400;
integer CHANNEL = -28393;
integer wallChannel;
integer allWalls;
PaintAllWalls(string tintLevel)
{
integer i;
integer j;
j = -28394;
for (i = 0; i < 7; i++)
{
llSay(j, tintLevel);
j--;
} // end for
} // end PaintAllWalls
default {
state_entry()
{
llListen(CHANNEL, "", NULL_KEY, ""

; // listen for dialog answers (from multiple users)
} // end state_entry()
touch_start(integer total_number)
{
llDialog(llDetectedKey(0), "Which wall would you like to tint?", WALL_OPTIONS, CHANNEL); // present dialog on click
allWalls = 0;
} // end touch_start()
listen(integer channel, string name, key id, string message)
{
if (llListFindList(TINT_OPTIONS + WALL_OPTIONS, [message]) != -1) // verify dialog choice
{
if (message == "Upper Front"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = UPPER_FRONT;
}
else if (message == "Upper Back"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = UPPER_BACK;
}
else if (message == "Upper Sides"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = UPPER_SIDE;
}
else if (message == "Lower Front"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = LOWER_FRONT;
}
else if (message == "Lower Back"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = LOWER_BACK;
}
else if (message == "Lower Sides"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = LOWER_SIDE;
}
else if (message == "Ceiling"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
wallChannel = CEILING;
}
else if(message == "All"

{
llDialog(id, "How much tint would you like?", TINT_OPTIONS, CHANNEL);
allWalls = 1;
}
if (message == "100%"

{
if(allWalls == 1)
{
PaintAllWalls("100"

;
}
else
{
llSay(wallChannel, "100"

;
}
}
else if (message == "80%"

{
if(allWalls == 1)
{
PaintAllWalls("80"

;
}
else
{
llSay(wallChannel, "80"

;
}
}
else if (message == "60%"

{
if(allWalls == 1)
{
PaintAllWalls("60"

;
}
else
{
llSay(wallChannel, "60"

;
}
}
else if (message == "40%"

{
if(allWalls == 1)
{
PaintAllWalls("40"

;
}
else
{
llSay(wallChannel, "40"

;
}
}
else if (message == "20%"

{
if(allWalls == 1)
{
PaintAllWalls("20"

;
}
else
{
llSay(wallChannel, "20"

;
}
}
else if (message == "None"

{
if(allWalls == 1)
{
PaintAllWalls("0"

;
}
else
{
llSay(wallChannel, "0"

;
}
}
} // end if (valid message)
} // end listen
} // end default