OsGetAgentIP
From OpenSimulator
(Difference between revisions)
m (some format conversions) |
|||
Line 1: | Line 1: | ||
− | {{osslfunc | + | {{osslfunc |
− | threat_level = High | + | |threat_level=High |
− | | | + | |function_syntax=string OsGetAgentIP(key uuid); |
− | function_syntax = | + | |ossl_example=<source lang="lsl"> |
− | string OsGetAgentIP(key uuid); | + | |
− | + | ||
− | | | + | |
− | ossl_example = <source lang="lsl"> | + | |
// | // | ||
// Example of osGetAgentIP | // Example of osGetAgentIP | ||
Line 22: | Line 18: | ||
} | } | ||
</source> | </source> | ||
− | | | + | |description=Requires: ''key uuid'' of agent to get IP address for. |
− | + | ||
Returns: string representing the IP address returned. | Returns: string representing the IP address returned. |
Revision as of 20:32, 1 July 2011
string OsGetAgentIP(key uuid);
| |
Requires: key uuid of agent to get IP address for.
Returns: string representing the IP address returned. Possible Exceptions thrown: System.Exception: OSSL Runtime Error: osGetAgentIP permission denied. Allowed threat level is VeryLow but function threat level is High. Notes: Unknown if this function requires a valid Detect event such as touch or collision. Unknown what is returned for IPv6. | |
Threat Level | High |
Permissions | No permissions specified |
Extra Delay | No function delay specified |
Example(s) | |
// // Example of osGetAgentIP // default { state_entry() { // Demo-Script } touch_start(integer total_number) { llSay (0, "Your IP is : "+ osGetAgentIP(llDetectedKey(0))); } } |