OsKickAvatar
From OpenSimulator
(Difference between revisions)
m (Indentation) |
|||
Line 6: | Line 6: | ||
void osKickAvatar(key agentId, string alert) | void osKickAvatar(key agentId, string alert) | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
− | + | // | |
− | + | // osKickAvatar Script Example | |
− | + | // | |
− | + | ||
− | + | default | |
− | + | { | |
− | + | state_entry() | |
+ | { | ||
+ | llSay(PUBLIC_CHANNEL, "Touch to see osKickAvatar usage."); | ||
+ | } | ||
+ | |||
+ | touch_start(integer number) | ||
+ | { | ||
+ | osKickAvatar("AvatarFirst", "AvatarLast", "You have been kicked!"); | ||
+ | } | ||
+ | } | ||
</source> | </source> | ||
|description = Kicks the selected avatar, closing its connection. | |description = Kicks the selected avatar, closing its connection. |
Latest revision as of 13:13, 24 November 2020
void osKickAvatar(string FirstName,string SurName, string alert)
void osKickAvatar(key agentId, string alert) | |
Kicks the selected avatar, closing its connection.
Agent key argument version added February 20, 2019 | |
Threat Level | Severe |
Permissions | ${OSSL|osslParcelO}ESTATE_MANAGER,ESTATE_OWNER |
Extra Delay | 0 seconds |
Example(s) | |
// // osKickAvatar Script Example // default { state_entry() { llSay(PUBLIC_CHANNEL, "Touch to see osKickAvatar usage."); } touch_start(integer number) { osKickAvatar("AvatarFirst", "AvatarLast", "You have been kicked!"); } } |