The integer constant CHANGED_REGION_START has the value 0x400
The region containing the object has just come online.
integer CHANGED_REGION_START = 0x400;
default
{
changed(integer change)
{
// note that it's & and not &&... it's bitwise!
if (change & CHANGED_REGION_START)
{
key owner = llGetOwner();
string region = llGetRegionName();
llInstantMessage(owner, "Region '" + region + "' has restarted.");
}
}
}
When a region is (re)started all HTTP server URLs are automatically released and invalidated.