This still works:
key http_request_id;string URL = "http://www.subnova.com/secondlife/api/map.php";string SIM_NAME;map(string name){ list temp_name; temp_name = llParseString2List(name,[],[" "]); integer i=0; for(i=0;i<llGetListLength(temp_name);i++){ if(llList2String(temp_name,i) == " "){ temp_name = llListReplaceList(temp_name,["_"],i,i); } } SIM_NAME = llDumpList2String(temp_name,""); http_request_id = llHTTPRequest(URL + "?" + "sim" + "=" + SIM_NAME, [], "");}default{ state_entry() { map(llGetRegionName()); } http_response(key request_id, integer status, list metadata, string body) { if (request_id == http_request_id){ if (body != "") { llSetTexture(body, 0); llSetText(SIM_NAME + "\n \n \n ",<.984, .686, .365>,.8); } } }}
It´s a old script I found in my inventory.