CheckBaItemCountEX » 历史记录 » 版本 1
machenhe, 2022-05-10 19:05
1 | 1 | machenhe | _*%{color:green}checkBaItemCountEX%*_ |
---|---|---|---|
2 | |||
3 | 检测背包中物品的数量(排除已放入itemBox中的物品数量)是否满足条件 |
||
4 | |||
5 | 标签:命令定义|checkBaItemCountEX |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |checkBaItemCountEX |物品名称 |数量 | |
||
10 | |||
11 | 说明: |
||
12 | * 参数1 |
||
13 | 物品名称 |
||
14 | |||
15 | * 参数2 |
||
16 | 数量 |
||
17 | |||
18 | *%{color:deepskyblue}脚本示例:%* |
||
19 | |||
20 | bq. [<notextile>@</notextile>main] |
||
21 | #ACT |
||
22 | #say |
||
23 | <ITEMBOX:0:0:0:0:0:40:40:*:tips> |
||
24 | <ITEMBOX:1:0:0:200:0:40:40:*:tips> |
||
25 | |||
26 | bq. [<notextile>@</notextile>检查背包0] |
||
27 | #if |
||
28 | checkBaItemCountEX 麻布 3 |
||
29 | #act |
||
30 | sendmsg 6 麻布有3以上 |
||
31 | #elseact |
||
32 | sendmsg 6 麻布不足3 |
||
33 | |||
34 | bq. [<notextile>@</notextile>检测背包1] |
||
35 | #if |
||
36 | checkBaItemCountEX 粗铁 5 |
||
37 | #act |
||
38 | sendmsg 6 粗铁有5以上 |
||
39 | #elseact |
||
40 | sendmsg 6 粗铁不足5 |