vector halocolor = <1,0.424,0>; float haloR = 1; float haloG = 0.424; float haloB = 0; integer colorget = 0; key curhalo = NULL_KEY; default { on_rez(integer start) { llResetScript(); } attach(key id) { llResetScript(); } state_entry() { vector iffy = (vector)llGetObjectDesc(); if(iffy != ZERO_VECTOR) { halocolor = iffy; llSetLinkColor(LINK_THIS,halocolor,ALL_SIDES); } llListen(70912,"Sim Grid Halo",NULL_KEY,""); llListen(0,"",llGetOwner(),""); llListen(9,"",llGetOwner(),""); } listen(integer channel, string name, key id, string msg) { if(channel == 70912 && (key)msg == llGetOwner()) { curhalo = id; llRegionSay(70912,llList2CSV([id,halocolor])); } if(channel != 70912 && colorget > 0) { if(colorget == 3) { haloR = (float)msg/255.0; llOwnerSay("Red value set."); } else if(colorget == 2) { haloG = (float)msg/255.0; llOwnerSay("Green value set."); } else if(colorget == 1) { haloB = (float)msg/255.0; llOwnerSay("Blue value set. Applying color change."); halocolor = ; llSetObjectDesc((string)halocolor); llSetLinkColor(LINK_THIS,halocolor,ALL_SIDES); llRegionSay(70912,llList2CSV([curhalo,halocolor])); } colorget -= 1; } } touch_start(integer num) { if(colorget == 0) { llOwnerSay("Yoooo mah mannnnn. Colrz. Now plez."); colorget = 3; } else { llOwnerSay("Whatchu wan' foo?? Tel me yo cullaz alredi, bro!"); } } }