I am using the following code
CODE
if(llGetSubString(message,0,14) == "light set_blue" )
{
string blue=llGetSubString(message,15,llStringLength(message));
llSay(0,"Len:"+(string)llStringLength(message));
llSay(0,"Blue:"+blue);
llMessageLinked(LINK_SET, (integer)blue, "blue", NULL_KEY);
}
when i type in "light set_blue" it says:
Len: 14
Blue: light set_blue
when i type in "light set_blue 1" it says nothing... any ideas?
dont ask why there is a weird space between the message thing, i dont know the php bb tag is doing it