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