<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=CodeDesignerLab+Resident</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=CodeDesignerLab+Resident"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/CodeDesignerLab_Resident"/>
	<updated>2026-06-29T05:42:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Talk:PRIM_TEXTURE&amp;diff=1199704</id>
		<title>Talk:PRIM TEXTURE</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Talk:PRIM_TEXTURE&amp;diff=1199704"/>
		<updated>2016-03-11T00:36:37Z</updated>

		<summary type="html">&lt;p&gt;CodeDesignerLab Resident: Correction to COmment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== llGetLinkPrimitiveParams, texture name or UUID ==&lt;br /&gt;
&lt;br /&gt;
With [[llGetLinkPrimitiveParams]] used from one script in a link-set it is important to note:&lt;br /&gt;
# The texture UUID is returned if the touched prim doesn&#039;t contain the texture&lt;br /&gt;
# The texture name is returned only when the touched prim contain the texture&lt;br /&gt;
# Having all textures on the object contained in the root-prim will not secure that texture names are returned when the object is touched&lt;br /&gt;
As always the texture must be full perm. [[User:Dora Gustafson|Dora Gustafson]] 12:12, 7 June 2014 (PDT)&lt;br /&gt;
&amp;lt;br&amp;gt;All this is already in the wiki at [[PRIM_TEXTURE#Target]], sorry for my confusion. [[User:Dora Gustafson|Dora Gustafson]] 16:07, 8 June 2014 (PDT)&lt;br /&gt;
:You aren&#039;t confused, I just added it. It was hinted at by the differences in descriptions for &#039;&#039;&#039;texture&#039;&#039;&#039; but wasn&#039;t explicit. &lt;br /&gt;
:&#039;&#039;&#039;P.S.&#039;&#039;&#039; It was a pain to do. I kept finding problems with the caveats, which turned out to be buried in this insane rat maze of coding (I&#039;ve been saying it for years but I really need to rework the inner workings of the primitive params articles). The most perplexing on the face of it had to do with default return values, as in PRIM_TEXTURE return values were being swapped with that of PRIM_TEXGEN (the two articles include each other and there was a variable name collision). -- &#039;&#039;&#039;[[User:Strife_Onizuka|Strife]]&#039;&#039;&#039; &amp;lt;sup&amp;gt;&amp;lt;small&amp;gt;([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])&amp;lt;/small&amp;gt;&amp;lt;/sup&amp;gt; 18:34, 8 June 2014 (PDT)&lt;br /&gt;
It should be noted in the page that the vector repeats and I imagine offset, that the returned values are X (horizontal) and Y (vertical). This is the same when setting the values using llSetLinkPrimitiveParams... Please delete this if I just missed it. [[User:CodeDesignerLab Resident|CodeDesignerLab Resident]] ([[User talk:CodeDesignerLab Resident|talk]]) 16:34, 10 March 2016 (PST)&lt;/div&gt;</summary>
		<author><name>CodeDesignerLab Resident</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Talk:PRIM_TEXTURE&amp;diff=1199703</id>
		<title>Talk:PRIM TEXTURE</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Talk:PRIM_TEXTURE&amp;diff=1199703"/>
		<updated>2016-03-11T00:34:48Z</updated>

		<summary type="html">&lt;p&gt;CodeDesignerLab Resident: Adding Comment to talk page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== llGetLinkPrimitiveParams, texture name or UUID ==&lt;br /&gt;
&lt;br /&gt;
With [[llGetLinkPrimitiveParams]] used from one script in a link-set it is important to note:&lt;br /&gt;
# The texture UUID is returned if the touched prim doesn&#039;t contain the texture&lt;br /&gt;
# The texture name is returned only when the touched prim contain the texture&lt;br /&gt;
# Having all textures on the object contained in the root-prim will not secure that texture names are returned when the object is touched&lt;br /&gt;
As always the texture must be full perm. [[User:Dora Gustafson|Dora Gustafson]] 12:12, 7 June 2014 (PDT)&lt;br /&gt;
&amp;lt;br&amp;gt;All this is already in the wiki at [[PRIM_TEXTURE#Target]], sorry for my confusion. [[User:Dora Gustafson|Dora Gustafson]] 16:07, 8 June 2014 (PDT)&lt;br /&gt;
:You aren&#039;t confused, I just added it. It was hinted at by the differences in descriptions for &#039;&#039;&#039;texture&#039;&#039;&#039; but wasn&#039;t explicit. &lt;br /&gt;
:&#039;&#039;&#039;P.S.&#039;&#039;&#039; It was a pain to do. I kept finding problems with the caveats, which turned out to be buried in this insane rat maze of coding (I&#039;ve been saying it for years but I really need to rework the inner workings of the primitive params articles). The most perplexing on the face of it had to do with default return values, as in PRIM_TEXTURE return values were being swapped with that of PRIM_TEXGEN (the two articles include each other and there was a variable name collision). -- &#039;&#039;&#039;[[User:Strife_Onizuka|Strife]]&#039;&#039;&#039; &amp;lt;sup&amp;gt;&amp;lt;small&amp;gt;([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])&amp;lt;/small&amp;gt;&amp;lt;/sup&amp;gt; 18:34, 8 June 2014 (PDT)&lt;br /&gt;
[[User:CodeDesignerLab Resident|CodeDesignerLab Resident]] ([[User talk:CodeDesignerLab Resident|talk]]) 16:34, 10 March 2016 (PST) It should be noted in the page that the vector repeats and I imagine offset, that the returned values are X (horizontal) and Y (vertical). This is the same when setting the values using llSetLinkPrimitiveParams... Please delete this if I just missed it.&lt;/div&gt;</summary>
		<author><name>CodeDesignerLab Resident</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=Return&amp;diff=1199669</id>
		<title>Return</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=Return&amp;diff=1199669"/>
		<updated>2016-03-05T08:41:18Z</updated>

		<summary type="html">&lt;p&gt;CodeDesignerLab Resident: First 3 example are misleading and promote poor coding practices. Replaced with one example that illustrates the proper usage of the return keyword.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{LSL Header|ml=*}}&lt;br /&gt;
{{#vardefine:name|return&lt;br /&gt;
}}{{#vardefine:p_value_desc|value or variable to be returned by the function, the type must be the same as that to be returned by the function.&lt;br /&gt;
}}{{#vardefine:header_title|return {{LSL Param|value}};&lt;br /&gt;
}}{{#vardefine:header_text|{{{!}}&lt;br /&gt;
{{LSL DefineRow|type|value|{{#var:p_value_desc}}}}&lt;br /&gt;
{{!}}}&lt;br /&gt;
Used to return execution to the previous scope along with a value.&lt;br /&gt;
===Functions===&lt;br /&gt;
:Exits the function and continues script execution in the previous scope.&lt;br /&gt;
===Events===&lt;br /&gt;
:Causes the script to crash. Events cannot return a value. Use the next form of this keyword instead.&lt;br /&gt;
}}{{#vardefine:constants_nb|&lt;br /&gt;
&amp;lt;div id=&amp;quot;box&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2&amp;gt;return;&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding: 0.5em&amp;quot;&amp;gt;&lt;br /&gt;
Used to prematurely return execution to the previous scope before reaching the end of the function/event.&lt;br /&gt;
You do not need to use this at the end of an event or function, as it is assumed by the compiler.&lt;br /&gt;
===Functions===&lt;br /&gt;
:Exits the function and continues script execution in the previous scope.&lt;br /&gt;
===Events===&lt;br /&gt;
:Exits the event and removes it from the event queue. If there is another event in the queue, that event is triggered.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
}}{{#vardefine:examples|&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lsl2&amp;quot;&amp;gt;&lt;br /&gt;
string get_name(key uuid)&lt;br /&gt;
{&lt;br /&gt;
    return llKey2Name(uuid); // Returns the value of llKey2Name().&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Usage within the script:&lt;br /&gt;
&lt;br /&gt;
llOwnerSay(&amp;quot;Name: &amp;quot; + get_name( llDetectedKey(0) ) ); // Tell owner what the name is. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lsl2&amp;quot;&amp;gt;&lt;br /&gt;
integer Calc (string cmd, integer a, integer b)&lt;br /&gt;
{&lt;br /&gt;
    // The user function has been declared as returning an integer,&lt;br /&gt;
    // so every return within the function must return an integer&lt;br /&gt;
    if (cmd == &amp;quot;+&amp;quot;)    return a + b;&lt;br /&gt;
    // We don&#039;t need to code &#039;else&#039; here, as the preceding statement resulted in &#039;return&#039; when true&lt;br /&gt;
    if (cmd == &amp;quot;-&amp;quot;)    return a - b;&lt;br /&gt;
    if (cmd == &amp;quot;*&amp;quot;)    return a * b;&lt;br /&gt;
    if (cmd == &amp;quot;/&amp;quot;)    return a / b;&lt;br /&gt;
    // We must return a value here too, we can&#039;t omit the final return&lt;br /&gt;
    return -1;   &lt;br /&gt;
}&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSay(0, llList2CSV ( [ Calc(&amp;quot;+&amp;quot;,1,2), Calc (&amp;quot;-&amp;quot;,5,3), Calc (&amp;quot;*&amp;quot;,3,4), Calc(&amp;quot;/&amp;quot;,18,6) ] ) );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
}}{{#vardefine:notes|&lt;br /&gt;
}}{{#vardefine:caveats|*There is a bug in the compiler and it will let you return a value with events, which when encountered at runtime will cause the script to crash.&lt;br /&gt;
**Do not try to return a value in the event scope if you do not wish your script to crash.&lt;br /&gt;
}}{{#vardefine:helpers|&lt;br /&gt;
}}{{#vardefine:also_header|&amp;lt;h3&amp;gt;Keywords&amp;lt;/h3&amp;gt;&lt;br /&gt;
{{{!}}&lt;br /&gt;
{{LSL DefineRow||[[jump]]|}}&lt;br /&gt;
{{LSL DefineRow||[[state]]|}}&lt;br /&gt;
{{!}}}&lt;br /&gt;
}}{{#vardefine:also_footer|&lt;br /&gt;
}}{{#vardefine:also_functions|&lt;br /&gt;
}}{{#vardefine:also_events|&lt;br /&gt;
}}{{#vardefine:also_articles|&lt;br /&gt;
}}{{#vardefine:also_tests|&lt;br /&gt;
}}{{#vardefine:location|&lt;br /&gt;
}}{{LSL Generic}}{{LSLC|Flow Control}}&lt;/div&gt;</summary>
		<author><name>CodeDesignerLab Resident</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LSL_http_server/examples/phpdns&amp;diff=1198569</id>
		<title>LSL http server/examples/phpdns</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LSL_http_server/examples/phpdns&amp;diff=1198569"/>
		<updated>2015-12-23T04:41:47Z</updated>

		<summary type="html">&lt;p&gt;CodeDesignerLab Resident: The delete statement on the php was incorrect and missing the word DELETE.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What ==&lt;br /&gt;
This is a very simple Object DNS server written in PHP backed with an SQL database&lt;br /&gt;
I&#039;ve included an LSL script that can be dropped into an object and used to register DNS, instead of having to write DNS code into every LSL script. It utilizes link messages to communicate with the calling script. You must provide your own URL request/release code in your scripts, as it appears that only the script that called for a particular URL, will receive http_response events for that URL.&lt;br /&gt;
&lt;br /&gt;
== lsl_object_dns.php ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$username = &amp;quot;mysql_username&amp;quot;;&lt;br /&gt;
$password = &amp;quot;mysql_password&amp;quot;;&lt;br /&gt;
$database = &amp;quot;mysql_database&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$method = $_POST[&#039;method&#039;];&lt;br /&gt;
$name = $_POST[&#039;name&#039;];&lt;br /&gt;
$URL = $_POST[&#039;URL&#039;];&lt;br /&gt;
$table = $_POST[&#039;table&#039;];&lt;br /&gt;
&lt;br /&gt;
function recordExists($idval,$table) {//check for id=idval in table and return TRUE or FALSE&lt;br /&gt;
   $result = mysql_query(&amp;quot;SELECT * FROM &amp;quot;.$table.&amp;quot; WHERE name=&#039;&amp;quot;.$idval.&amp;quot;&#039;&amp;quot;) or die(mysql_error());&lt;br /&gt;
   if($row = mysql_fetch_array($result)) {//if we did return a record&lt;br /&gt;
      return 1;&lt;br /&gt;
   }//end if row&lt;br /&gt;
   return 0;&lt;br /&gt;
}//end fuction recordExists&lt;br /&gt;
&lt;br /&gt;
if ($name==&amp;quot;&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
    die(&amp;quot;No Object name provided!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
else if ($URL==&amp;quot;&amp;quot; &amp;amp;&amp;amp; $method!=&amp;quot;get&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
    die(&amp;quot;No Object URL provided!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
else if (method==&amp;quot;&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
    die(&amp;quot;No Method provided!&amp;quot;);&lt;br /&gt;
}&lt;br /&gt;
mysql_connect(localhost,$username,$password);&lt;br /&gt;
@mysql_select_db($database) or die( &amp;quot;Unable to select database&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
if ($method==&amp;quot;set&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
    if (recordExists($name,$table)==0)&lt;br /&gt;
    {&lt;br /&gt;
        $query = &amp;quot;INSERT INTO &amp;quot;.$table.&amp;quot; VALUES (&#039;$name&#039;,&#039;$URL&#039;)&amp;quot;;&lt;br /&gt;
        $result=mysql_query($query);&lt;br /&gt;
        if ($result==1)&lt;br /&gt;
        {&lt;br /&gt;
            echo &amp;quot;DNS record created!&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            echo &amp;quot;Error!\n&amp;quot;.$result;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
        $query = &amp;quot;UPDATE &amp;quot;.$table.&amp;quot; SET url=&#039;$URL&#039; WHERE name=&#039;$name&#039;&amp;quot;;&lt;br /&gt;
        $result=mysql_query($query);&lt;br /&gt;
        if ($result==1)&lt;br /&gt;
        {&lt;br /&gt;
            echo &amp;quot;DNS record Updated!&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            echo &amp;quot;Error!\n&amp;quot;.$result;&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
else if ($method==&amp;quot;get&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
    $query=&amp;quot;SELECT url FROM &amp;quot;.$table.&amp;quot; WHERE name=&#039;$name&#039;&amp;quot;;&lt;br /&gt;
    $result=mysql_query($query);&lt;br /&gt;
    $row = mysql_fetch_array($result);&lt;br /&gt;
    echo $row[0];&lt;br /&gt;
}&lt;br /&gt;
else if (method==&amp;quot;remove&amp;quot;)&lt;br /&gt;
{&lt;br /&gt;
    $query=&amp;quot;DELETE FROM &amp;quot;.$table.&amp;quot; WHERE name=&#039;$name&#039;&amp;quot;;&lt;br /&gt;
    $result=mysql_query($query);&lt;br /&gt;
}&lt;br /&gt;
mysql_close();&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DB_Table_Setup.sql ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
 CREATE TABLE `zetapho1_objectdns`.`dns_example` (&lt;br /&gt;
`name` TEXT NOT NULL ,&lt;br /&gt;
`url` TEXT NOT NULL&lt;br /&gt;
) ENGINE = MYISAM &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== ObjectDNS.lsl ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lsl2&amp;quot;&amp;gt;&lt;br /&gt;
////OBJECT DNS FRAMEWORK////&lt;br /&gt;
/////////By Zetaphor////////&lt;br /&gt;
//This is a simple framework for LSL HTTP Server DNS&lt;br /&gt;
//The script is utilizing a PHP/SQL setup on my webserver&lt;br /&gt;
/////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
////////////////////////////////////////////////////&lt;br /&gt;
///////////////USAGE INSTRUCTIONS///////////////////&lt;br /&gt;
//This script does not handle the request/release of URL&#039;s,&lt;br /&gt;
//you must handle that in your script, this simply handles&lt;br /&gt;
//registering a DNS name on my server with your current URL&lt;br /&gt;
////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
//To register an object, follow the below steps:&lt;br /&gt;
//    Send a linkmessage to this prim with the integer 100&lt;br /&gt;
//    The string will contain the desired DNS name, and your&lt;br /&gt;
//    current object URL, separated by a carat (^)&lt;br /&gt;
//      Example: llMessageLinked(LINK_THIS,100,&amp;quot;TestObject^&amp;quot;+CurrentURL,&amp;quot;&amp;quot;);&lt;br /&gt;
//    This will either create your DNS Name and URL on the server&lt;br /&gt;
//    or update your name with your latest URL.&lt;br /&gt;
//&lt;br /&gt;
//&lt;br /&gt;
//    The object will then send the following link message&lt;br /&gt;
//    on failure/success:&lt;br /&gt;
//      llMessageLinked(LINK_THIS,201,ErrorData,&amp;quot;&amp;quot;); //Failure, errordata contains the response&lt;br /&gt;
//      llMessageLinked(LINK_THIS,200,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;); //Success!&lt;br /&gt;
&lt;br /&gt;
string url;&lt;br /&gt;
key url_register;&lt;br /&gt;
string name;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    link_message(integer s, integer n, string str, key id)&lt;br /&gt;
    {&lt;br /&gt;
        if (n==100)&lt;br /&gt;
        {&lt;br /&gt;
            llReleaseURL(url);&lt;br /&gt;
            list temp = llParseString2List(str,[&amp;quot;^&amp;quot;],[&amp;quot;&amp;quot;]);&lt;br /&gt;
            name=llList2String(temp,0);&lt;br /&gt;
            url=llList2String(temp,1);&lt;br /&gt;
            url_register = llHTTPRequest(&amp;quot;http://zetaphor.net/lsl_object_dns.php&amp;quot;,[HTTP_METHOD,&amp;quot;POST&amp;quot;,HTTP_MIMETYPE, &amp;quot;application/x-www-form-urlencoded&amp;quot;],&amp;quot;table=general_dns&amp;amp;name=&amp;quot;+name+&amp;quot;&amp;amp;URL=&amp;quot;+llEscapeURL(url)+&amp;quot;&amp;amp;method=set&amp;quot;);            &lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    http_response(key id, integer status, list meta, string body)&lt;br /&gt;
    {&lt;br /&gt;
        if (id==url_register)&lt;br /&gt;
        {&lt;br /&gt;
            if (llSubStringIndex(body,&amp;quot;Error!&amp;quot;)!=-1)&lt;br /&gt;
            {&lt;br /&gt;
                llMessageLinked(LINK_SET,201,body,&amp;quot;&amp;quot;);&lt;br /&gt;
                llResetScript();                &lt;br /&gt;
            }&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                llMessageLinked(LINK_SET,200,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== DNS_Register_Example.lsl ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lsl2&amp;quot;&amp;gt;&lt;br /&gt;
string DNSName=&amp;quot;Change Me!&amp;quot;;&lt;br /&gt;
string url;&lt;br /&gt;
integer CHANGED_URL = 1792;&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llRequestURL();&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    changed(integer c)&lt;br /&gt;
    {&lt;br /&gt;
        if (c &amp;amp; (CHANGED_URL) )llRequestURL(); &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    link_message(integer s, integer n, string str, key id)&lt;br /&gt;
    {&lt;br /&gt;
        if (n==201)&lt;br /&gt;
        {&lt;br /&gt;
            llSay(0,&amp;quot;Error registering DNS!\n&amp;quot;+str);&lt;br /&gt;
        }&lt;br /&gt;
        else if (n==200)&lt;br /&gt;
        {&lt;br /&gt;
            llSay(0,&amp;quot;DNS Registered Succesfully!&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
 &lt;br /&gt;
    http_request(key id, string method, string body)&lt;br /&gt;
    {&lt;br /&gt;
        if (method == URL_REQUEST_GRANTED)&lt;br /&gt;
        {&lt;br /&gt;
            url = body;&lt;br /&gt;
            llSay(0,&amp;quot;Local URL Recieved! Registering with DNS...&amp;quot;);&lt;br /&gt;
            llMessageLinked(LINK_THIS,100,DNSName+&amp;quot;^&amp;quot;+url,&amp;quot;&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
        else if (method == URL_REQUEST_DENIED)&lt;br /&gt;
        {&lt;br /&gt;
            llSay(0, &amp;quot;Something went wrong, no url. &amp;quot; + body);&lt;br /&gt;
        }&lt;br /&gt;
        else if (method == &amp;quot;GET&amp;quot;)&lt;br /&gt;
        {&lt;br /&gt;
            llHTTPResponse(id,200,&amp;quot;Hello World!&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
        else&lt;br /&gt;
        {&lt;br /&gt;
            llHTTPResponse(id,405,&amp;quot;Unsupported Method&amp;quot;);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>CodeDesignerLab Resident</name></author>
	</entry>
</feed>