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