OsRegionNotice
From OpenSimulator
(Difference between revisions)
m (Added permissions and delay information) |
(Add new function) |
||
Line 3: | Line 3: | ||
|permissions=ESTATE_MANAGER,ESTATE_OWNER | |permissions=ESTATE_MANAGER,ESTATE_OWNER | ||
|delay=0 | |delay=0 | ||
− | |function_syntax=void osRegionNotice(string msg) | + | |function_syntax=void osRegionNotice(string msg)<br />void osRegionNotice(string agentID, string msg) |
|ossl_example=<source lang = "lsl"> | |ossl_example=<source lang = "lsl"> | ||
// ---------------------------------------------------------------- | // ---------------------------------------------------------------- |
Revision as of 06:07, 30 August 2018
void osRegionNotice(string msg)
void osRegionNotice(string agentID, string msg) | |
Sends a region notice to the entire current region. | |
Threat Level | VeryHigh |
Permissions | ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
Example(s) | |
// ---------------------------------------------------------------- // 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() { 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); } } |