Hi, i made an on-ine statue indicator for staff boards. The staff board works correctly, displaying the staff member's profile image and their on-ine status. My issue is that during a one of my (if..else) loops, I am not having communication. The ROOT prim/script should be sending a number (either a 1 or a 0) to a CHILD prim/script. When the message is recieved a texture is changed. dataserver(key queryid, string data)
{
if ( data == "1" )
{
status = " is online";
llSetText(name + status, <0,1,0>, 1.0);
llMessageLinked(integer LINK_SET, integer 1, "", "");
}
else if (data == "0")
{
status = " is offline";
llSetText(name + status, <1,0,0>, 1.0);
llMessageLinked(integer LINK_SET, integer 0, "", "");
} That is the code of the dataserver in the ROOT prim/script default
{
state_entry()
{
link_message(integer sender_number, integer number, string message, key id)
{
if ( sender_number == "1" ){
fliptexture(AVAILABLE);
}
else if ( sender_number == "0"){
fliptexture(UNAVAILABLE);
}
}
}
} This is my CHILD prim/script I think my error is how i'm passing the info, but i can't seem to get it. All the help is greatly appreciated