/schedule: 稍后运行一个函数:在一段时间之后,或在某个区域加载完成时。
语法
<尖括号> 内为必填,[方括号] 内为可选。 /schedule 有 11 种写法:
/schedule <mode: scheduleactiondelay> <condition: requestactionadd> <function: pathcommand> <time: int> [DelayMode: delaymode]
/schedule <mode: scheduleactiondelay> <condition: requestactionadd> <function: pathcommand> <time: postfix_t> [DelayMode: delaymode]
/schedule <mode: scheduleactiondelay> <condition: requestactionadd> <function: pathcommand> <time: postfix_s> [DelayMode: delaymode]
/schedule <mode: scheduleactiondelay> <condition: requestactionadd> <function: pathcommand> <time: postfix_d> [DelayMode: delaymode]
/schedule <mode: scheduleactiondelay> <condition: requestactionclear> <function: pathcommand>
/schedule <mode: scheduleactionclear> <function: pathcommand>
/schedule <mode: scheduleactiononarealoaded> <condition: requestactionadd> <from: position> <to: position> <function: pathcommand>
/schedule <mode: scheduleactiononarealoaded> <condition: requestactionadd> <type: circlearea> <center: position> <radius: int> <function: pathcommand>
/schedule <mode: scheduleactiononarealoaded> <condition: requestactionadd> <type: tickingarea> <name: id> <function: pathcommand>
/schedule <mode: scheduleactiononarealoaded> <condition: requestactionclear> <cleartype: tickingareaname> <name: id> [function: pathcommand]
/schedule <mode: scheduleactiononarealoaded> <condition: requestactionclear> <cleartype: functionname> <function: pathcommand>