list colours =
[
"Red",
"Green",
"Blue"
];
// End of data
key who;
default
{
state_entry()
{
llSay(0, "Hello, Avatar!"
;llListen(321,"",NULL_KEY,"Red"
;llListen(321, "", NULL_KEY, "Green"
;llListen(321, "", NULL_KEY, "Blue"
;}
touch_start(integer total_number)
{
who = llDetectedKey(0); // Assigns the name of the person who is in the quiz to the word 'who'.
llDialog(who, "Wanna change my outfit?", colours, 321);
}
listen(integer channel, string name, key id, string message)
{
if(message == "Red"

{
llSetColor(<1,0,0>, ALL_SIDES);
}
else if(message == "Blue"
{llSetColor(<0,0,1>, ALL_SIDES);
}
else if(message == "Green"

{
llSetColor(<0,1,0>, ALL_SIDES);
}
}
}
Object isn't changing colour! Anybody see the flaw?
