查看“LlEjectFromLand”的源代码
←
LlEjectFromLand
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名 = Function: llEjectFromLand( key avatar ); |参数= 参数: key avatar – avatar UUID that is in the same region |返回值= 返回值:Ejects avatar from the parcel. |注意事项= Generally, the object owner must also be the land owner but there is an exception for land deeded to a group for group members with the "Eject and freeze Residents on parcels" ability. See #Ownership Limitations for details. <pre> Ownership Limitations If the land under the object is owned by an individual, the script must be owned by the same individual. If the land under the object is deeded to a group the object will need to satisfy one of the following: The object is deeded to the same group. The object owner must have "Eject and freeze Residents on parcels" ability in the group and be connected to the sim </pre> |示例= 示例1 <pre> // Here a script done by shenanigan oh //It's a easy script that I came up with. When I worked for a carnage I put this script in a computer that was //attached to me. The carnage it self was a pvp sims so it was alot easier and fast to eject some this way //then running after them and clicking on them. The way this work is by trying eject and half type plays name. //Example: /1 eject shenan //Warning if you type someone name in short be careful of other plays with same name! string msg; string name; default { on_rez(integer n) { llResetScript(); } state_entry() { llListen(1, "", llGetOwner(), ""); llListen(0, "", llGetOwner(), ""); } listen(integer n, string m, key k, string msg) { if (llGetSubString(msg, 0, 5) == "eject ") { name = llToLower(llStringTrim(llDeleteSubString(msg, 0, 5), STRING_TRIM)); llSensor("", "", AGENT, 96, PI); } } sensor(integer n) { integer i = 0; for (;i<n;++i) { if (llOverMyLand(llDetectedKey(i))) { if (~llSubStringIndex(llToLower(llDetectedName(i)), name)) { llOwnerSay("ejecting " + llDetectedName(i)); llEjectFromLand(llDetectedKey(i)); } } } } no_sensor() { llOwnerSay("Avatar not found."); } } </pre> |相关函数=无 }}
该页面使用的模板:
模板:LSL Header
(
查看源代码
)
模板:LSLC
(
查看源代码
)
模板:LSLGC
(
查看源代码
)
模板:Multi-lang
(
查看源代码
)
模板:函数详情
(
查看源代码
)
返回至
LlEjectFromLand
。
导航菜单
个人工具
登录
名字空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
网站首页
知识百科
编辑帮助
最近更改
工具
链入页面
相关更改
特殊页面
页面信息