I'm new to scriping so i have been having a few bumping along the way.. right now i have two questions i was going to ask:
Color changing scripting, I have been trying to make a scrip where then i say /1 red it changes the whole object red. I have tired llSetColor wich only removed the master prim. and llSetLinkColor wich does work... if i about 144 lines..
My question is there a way to have my script tell my object to change the color of all it's prims without having a long winded scripting line?
default
{
state_entry()
{
llListen(1,"","","red"
; llSay(0, "Say /1 red"
;}
listen(integer channel, string name, key id, string message)
{
if (message == "red"

llSetLinkColor(1, <1,0,0>, ALL_SIDES);
}
Another thing I have been looking at is a very popular Invisable object script.
I was wonder if there is a way to tell this script to turn off when i say /1 Invisable off and a way to turn it back on when i say /1 invsable on
//from Chris Knox
refresh()
{
llSetTexture("38b86f85-2575-52a9-a531-23108d8da837", ALL_SIDES);
llOffsetTexture(0.468, 0, ALL_SIDES);
llScaleTexture(0, 0, ALL_SIDES);
llSleep(30);
llSetTexture("e97cf410-8e61-7005-ec06-629eba4cd1fb", ALL_SIDES);
llOffsetTexture(0.468, 0, ALL_SIDES);
llScaleTexture(0, 0, ALL_SIDES);
}
default
{
state_entry()
{
refresh();
llSetTimerEvent(5);
}
timer()
{
if ((integer)llGetWallclock() % 60 < 10)
{
refresh();
}
}
}
AND if someone whould tell me how to cylce glow effects that whould be great too

0.700