SetOffTimer » 历史记录 » 版本 1
machenhe, 2022-04-22 14:44
1 | 1 | machenhe | _*%{color:green}setOffTimer%*_ |
---|---|---|---|
2 | 关闭指定编号的自定义定时器 |
||
3 | |||
4 | 标签:命令定义|setOffTimer |
||
5 | |||
6 | *格式* |
||
7 | |_.命令名 |_.参数1 | |
||
8 | |setOffTimer|定时器编号| |
||
9 | |||
10 | |
||
11 | |
||
12 | *说明* |
||
13 | * 参数1 |
||
14 | 自定义定时器的编号[0,2^64-1] |
||
15 | |||
16 | |||
17 | - |
||
18 | - |
||
19 | |||
20 | *%{color:deepskyblue}脚本示例:%* |
||
21 | |||
22 | bq. %{color:lightGrey};执行脚本设置定时器% |
||
23 | [@main] |
||
24 | #say |
||
25 | <开启定时/<notextile>@</notextile>开启定时>\ \ |
||
26 | <关闭定时/<notextile>@</notextile>关闭定时> |
||
27 | %{color:lightGrey};--执行开启定时器% |
||
28 | [<notextile>@</notextile>开启定时] |
||
29 | #act |
||
30 | setOnTimer 0 5 |
||
31 | setOnTimer 1 10 |
||
32 | sendMsg 6 254 0号,1号定时器已开启 |
||
33 | %{color:lightGrey};--执行关闭定时器% |
||
34 | [<notextile>@</notextile>关闭定时] |
||
35 | #act |
||
36 | setOffTimer 0 |
||
37 | setOffTimer 1 |
||
38 | sendMsg 6 254 0号,1号定时器已关闭 |
||
39 | |||
40 | |||
41 | |||
42 | bq. %{color:lightGrey};编辑登录设置脚本 |
||
43 | ..\Mir200\Envir\MapQuest_Def\QManage.txt% |
||
44 | %{color:lightGrey};定时器0% |
||
45 | [@nTimer0] |
||
46 | #act |
||
47 | sendMsg 6 <$time>位于%m|<$x>,<$y> |
||
48 | %{color:lightGrey};定时器1% |
||
49 | [@onTimer1] |
||
50 | #act |
||
51 | sendMsg 6 【特戒通知】过了10秒 |