项目

一般

简介

Break » 历史记录 » 版本 2

tejie, 2026-03-12 10:40

1 2 tejie
h4. _*%{color:green}break%*_
2
3 1 machenhe
在条件判断中,用来结束当前@块
4
5 2 tejie
标签:命令^break
6 1 machenhe
7
*格式*
8
|命令名	|
9
|break	|
10
11
*说明*
12
13
14
-
15
-
16
17 2 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例%*
18 1 machenhe
19
bq. [@main]
20
#if
21 2 tejie
[[gender]] woman
22 1 machenhe
#act
23 2 tejie
[[print]] 特戒提示:性别女的角色执行
24
*{color:green}break*
25
<notextile></notextile>
26 1 machenhe
#if
27 2 tejie
[[gender]] man
28 1 machenhe
#act
29 2 tejie
[[print]] 特戒提示:性别男的角色执行
30
*{color:green}break*
31
<notextile></notextile>
32
#if
33
#act
34
[[print]] 特戒提示:性别数据异常时执行