OsGetScriptEngineName
From OpenSimulator
(Difference between revisions)
m (some syntax modification (may be major or minor)) |
|||
| Line 2: | Line 2: | ||
|threat_level=High | |threat_level=High | ||
|function_syntax=string osGetScriptEngineName() | |function_syntax=string osGetScriptEngineName() | ||
| − | |ossl_example= | + | |ossl_example=<source lang = "lsl"> |
| + | // ---------------------------------------------------------------- | ||
| + | // Example / Sample Script to show function use. | ||
| + | // | ||
| + | // Script Title: osGetScriptEngineName.lsl | ||
| + | // Script Author: WSM | ||
| + | // Threat Level: High | ||
| + | // Script Source: http://opensimulator.org/wiki/OsGetScriptEngineName | ||
| + | // | ||
| + | // 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 | ||
| + | // ================================================================ | ||
| + | // Inworld Script Line: string osGetScriptEngineName(); | ||
| + | // | ||
| + | // Example of osGetScriptEngineName() | ||
| + | // | ||
| + | default | ||
| + | { | ||
| + | state_entry() | ||
| + | { | ||
| + | llSay(0,"Touch to get Script Engine Name"); | ||
| + | } | ||
| + | touch_end(integer total_num) | ||
| + | { | ||
| + | llSay(0,"The Script Engine Name is: "+osGetScriptEngineName()); | ||
| + | } | ||
| + | } | ||
| + | </source> | ||
|description= | |description= | ||
| | | | ||
}} | }} | ||
Revision as of 10:06, 30 July 2011
string osGetScriptEngineName()
| |
| No descriptions provided | |
| Threat Level | High |
| Permissions | No permissions specified |
| Extra Delay | No function delay specified |
| Example(s) | |
// ---------------------------------------------------------------- // Example / Sample Script to show function use. // // Script Title: osGetScriptEngineName.lsl // Script Author: WSM // Threat Level: High // Script Source: http://opensimulator.org/wiki/OsGetScriptEngineName // // 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 // ================================================================ // Inworld Script Line: string osGetScriptEngineName(); // // Example of osGetScriptEngineName() // default { state_entry() { llSay(0,"Touch to get Script Engine Name"); } touch_end(integer total_num) { llSay(0,"The Script Engine Name is: "+osGetScriptEngineName()); } } | |