“LlAddToLandPassList”的版本间的差异
第1行: | 第1行: | ||
{{LSL Header|ml=*}}{{LSLC|Flow Control}}{{LSLC|}} | {{LSL Header|ml=*}}{{LSLC|Flow Control}}{{LSLC|}} | ||
+ | |||
{{函数详情 | {{函数详情 | ||
− | |函数名=Function:integer lladdtolandpasslist(key avatar,float hours) | + | |函数名=Function:integer lladdtolandpasslist(key avatar,float hours). |
+ | |||
+ | |注意事项=This function causes the script to sleep for 0.1 seconds.The maximum usable value for hours is 144.Any value greater than 144 will be silently reduced to 144. | ||
− | |||
− | |||
|示例= | |示例= |
2020年3月2日 (一) 12:08的版本
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
{{函数详情
|函数名=Function:integer lladdtolandpasslist(key avatar,float hours).
|注意事项=This function causes the script to sleep for 0.1 seconds.The maximum usable value for hours is 144.Any value greater than 144 will be silently reduced to 144.
|示例=
示例1
string command;
default {
state_entry() { llListen(5,"",llGetOwner(),""); }
on_rez(integer param) { llResetScript(); }
listen(integer chan, string name,key id,string message) { if (command!="") { llOwnerSay("Sorry,still processing last command, try again in a second."); }
list args = llParseString2List(message,[":"],[]); command=llToLower(llList2String(args,0));