项目

一般

简介

CheckItemW » 历史记录 » 版本 4

tejie, 2025-10-17 15:16

1 3 tejie
h4. _*%{color:green}checkItemW%*_
2 2 tejie
3 1 machenhe
检测角色身上穿戴指定物品数量
4
5 4 tejie
标签:命令定义^checkItemW
6 1 machenhe
7
*格式*
8
|命令名		|参数1		|参数2		|
9
|checkItemW	|装备名称	|装备数量	|
10
11
*说明*
12 4 tejie
|参数1|装备名称|
13
|参数2|装备数量(如戒指,手镯有可能戴两件)|
14 1 machenhe
15
-
16
-
17
18 2 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
19 1 machenhe
20
bq. [<notextile>@</notextile>main]
21
#say
22
<检测穿戴/<notextile>@</notextile>检测穿戴>
23
&nbsp;
24
[<notextile>@</notextile>检测穿戴]
25
#if
26
[[equal]] [[装备位置|<$dress>]]
27
#act
28
[[sendMsg]] 6 角色没有穿戴衣服,穿上再试试
29
break
30
&nbsp;
31
#if
32
*%{color:green}checkItemW%* <$dress> 1
33
#act
34 4 tejie
[[sendMsg]] 6 角色穿了1件<$dress>
35
[[sendMsg]] 6 换件再试试