OsRegionNotice

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=VeryHigh
 
|threat_level=VeryHigh
|function_syntax=void osRegionNotice(string msg)
+
|permissions=ESTATE_MANAGER,ESTATE_OWNER
 +
|delay=0
 +
|function_syntax= osRegionNotice(string message)<br> osRegionNotice(key agentID, string message)
 
|ossl_example=<source lang = "lsl">
 
|ossl_example=<source lang = "lsl">
// ----------------------------------------------------------------
+
/default
// Example / Sample Script to show function use.
+
//
+
// Script Title:    osRegionNotice.lsl
+
// Script Author:
+
// Threat Level:    VeryHigh
+
// Script Source:  SUPPLEMENTAL http://opensimulator.org/wiki/osRegionNotice
+
//
+
// Notes: See Script Source reference for more detailed information
+
// This sample is full opensource and available to use as you see fit and desire.
+
// Threat Levels only apply to OSSL & AA Functions
+
// See http://opensimulator.org/wiki/Threat_level
+
// ================================================================
+
// C# Source Line:      public void osRegionNotice(string msg)
+
// Inworld Script Line:    osRegionNotice(string message);
+
//
+
// Example of osRegionNotice
+
//
+
default
+
 
{
 
{
 
     state_entry()
 
     state_entry()
Line 35: Line 19:
  
 
</source>
 
</source>
|description=
+
|description=Sends a region notice to the entire current region.
|
+
|additional_info=The version of osRegionNotice that takes a second argument was added in the 0.9.0.1 version of OpenSimulator.
 
}}
 
}}

Latest revision as of 16: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