Now if you load my code up into SL you will see that something is terribly wrong yet i just dont know what it is...the way it looks to me the code should be fine yet there is this problem....heres the code
key req_id1;
key req_id2;
string lname;
integer lplaycount;
default
{
state_entry()
{
integer lplaycount = 0;
llSetTimerEvent(1.0);
}
timer() {
req_id1 = llHTTPRequest("http://kklouzal.awardspace.com/secondchk.php", [HTTP_METHOD, "POST"], ""
;}
touch_start(integer total_number) {
lname = llDetectedName(0);
req_id2 = llHTTPRequest("http://kklouzal.awardspace.com/secondcom.php", [HTTP_METHOD, "POST"], "name=" + lname);
++lplaycount;
}
http_response(key request_id, integer status, list metadata, string body) {
if (request_id = req_id2) {
llSay(0, body);
llSetText("Current Local Players: " + (string)lplaycount + "\nLatest Local Player: " + lname + "\n-------------------------\n Current Global Players: " + "\nLast Global Player: ", <0.0,1.0,0.0>, 1);
}
if (request_id = req_id1) {
llSay(0, body);
llSetText("Updating Machine...", <0.0,1.0,0.0>, 1);
}
llSetTimerEvent(1.0);
}
}