default { state_entry() { llSay(0, "Hello, Avatar!"); llListen(0,"","",""); // listens to (only) you on channel 0 } touch_start(integer total_number) { llSay(0, "Touched."); } listen(integer ch, string nm, key k, string message) { if(message == "purply") { llSay(0,"well this might not be your favorite purple, but..."); llSetColor(<0.63,0.3,0.94>,ALL_SIDES); } if(message == "red") { llSetColor(<1,0,0>,ALL_SIDES); } if(message == "green") { llSetColor(<0,1,0>,ALL_SIDES); } if(message == "blue") { llSetColor(<0,0,1>,ALL_SIDES); } if(message == "yellow") { llSetColor(<1,1,0>,ALL_SIDES); } } }