OsRegionNotice

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| width="100%" style="border: thin solid black"
+
{{osslfunc
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
|threat_level=VeryHigh
|- valign="top"
+
|permissions=ESTATE_MANAGER,ESTATE_OWNER
|'''Threat Level''' || VeryHigh
+
|delay=0
 +
|function_syntax= osRegionNotice(string message)<br> osRegionNotice(key agentID, string message)
 +
|ossl_example=<source lang = "lsl">
 +
/default
 +
{
 +
    state_entry()
 +
    {
 +
        llSay(0,"Touch to send a Notice to the region");
 +
    }
 +
    touch_start(integer total_num)
 +
    {
 +
        string message = "This is a test Notice to this region using osRegionNotice";
 +
        osRegionNotice(message);
 +
    }
 +
}
  
|- valign="top"
 
|'''Function Syntax''' || <source lang="lsl">
 
osRegionNotice(string msg);
 
 
</source>
 
</source>
|- valign="top"
+
|description=Sends a region notice to the entire current region.
|'''Example(s)||
+
|additional_info=The version of osRegionNotice that takes a second argument was added in the 0.9.0.1 version of OpenSimulator.
 
+
}}
|}
+
 
+
[[Category:OSSL Functions]]
+
[[Category:OSSL_functions_without_example]]
+

Latest revision as of 17:38, 1 May 2019

osRegionNotice(string message)
osRegionNotice(key agentID, string message)
Sends a region notice to the entire current region.
Threat Level VeryHigh
Permissions ESTATE_MANAGER,ESTATE_OWNER
Extra Delay 0 seconds
Example(s)
/default
{
    state_entry()
    {
        llSay(0,"Touch to send a Notice to the region");
    }
    touch_start(integer total_num)
    {
        string message = "This is a test Notice to this region using osRegionNotice";
        osRegionNotice(message);
    }
}
Notes
The version of osRegionNotice that takes a second argument was added in the 0.9.0.1 version of OpenSimulator.
Personal tools
General
About This Wiki