OsGetAgentIP
From OpenSimulator
(Difference between revisions)
m (Add See Also) |
m (Change See Also) |
||
Line 32: | Line 32: | ||
|additional_info= | |additional_info= | ||
}} | }} | ||
− | + | == See Also == | |
* [[osGetAgentIP]] | * [[osGetAgentIP]] | ||
* [[osGetAgentCountry]] | * [[osGetAgentCountry]] | ||
* [[osDetectedCountry]] | * [[osDetectedCountry]] |
Latest revision as of 18:46, 5 December 2020
string osGetAgentIP(key uuid);
| |
Requires: key uuid of agent to get IP address for.
Returns: string representing the IP address returned. 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. | |
Threat Level | Severe |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0 seconds |
Example(s) | |
// // osGetAgentIP Script Example // default { state_entry() { llSay(PUBLIC_CHANNEL, "Touch to see osGetAgentIP usage."); } touch_start(integer number) { llSay(PUBLIC_CHANNEL, "Your IP is : " + osGetAgentIP(llDetectedKey(0))); } } |
[edit] See Also
- osGetAgentIP
- osGetAgentCountry
- osDetectedCountry