DelayGoto » 历史记录 » 版本 2
tejie, 2025-07-25 16:29
1 | 2 | tejie | h4. _*%{color:green}delayGoto%*_ |
---|---|---|---|
2 | |||
3 | 1 | machenhe | 同一脚本文件内@块延时跳转 |
4 | |||
5 | 2 | tejie | 标签:命令定义^delayGoto |
6 | 1 | machenhe | |
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |delayGoto |延时时间 |跳转标签 | |
||
10 | |||
11 | *说明* |
||
12 | 2 | tejie | |参数1|延时时间(单位毫秒)| |
13 | |参数2|跳转标签 |
||
14 | 以@开头的任意字符串| |
||
15 | 1 | machenhe | |
16 | |||
17 | - |
||
18 | - |
||
19 | |||
20 | 2 | tejie | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
21 | 1 | machenhe | |
22 | bq. [@main] |
||
23 | #if |
||
24 | #act |
||
25 | 2 | tejie | [[sendMsg]] 6 <$time>我是@main |
26 | *{color:green}delayGoto* 2000 @1 |
||
27 | 1 | machenhe | %{color:lightgrey};--2秒后跳至@1% |
28 | [@1] |
||
29 | #if |
||
30 | #act |
||
31 | 2 | tejie | [[sendMsg]] 6 <$time>我是@1 |
32 | *{color:green}delayGoto* 3000 @2 |
||
33 | 1 | machenhe | %{color:lightgrey};--3秒后跳至@2% |
34 | [@2] |
||
35 | #if |
||
36 | #act |
||
37 | 2 | tejie | [[sendMsg]] 6 <$time>我是@2 |