CheckBaItemCountEX » 历史记录 » 版本 9
yangdefeng, 2022-05-21 12:04
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 | 9 | yangdefeng | |
17 | - |
||
18 | - |
||
19 | |||
20 | 4 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
21 | 1 | machenhe | |
22 | 8 | yangdefeng | - |
23 | - |
||
24 | |||
25 | 1 | machenhe | bq. [<notextile>@</notextile>main] |
26 | #say |
||
27 | 2 | yangdefeng | <[[dlg_itemBox_|itemBox]]:0:0:0:0:0:40:40:*:tips> |
28 | <itemBox:1:0:0:200:0:40:40:*:tips> |
||
29 | 7 | yangdefeng | \ \ \ \<左边格子内麻布数量检查/<notextile>@</notextile>检查背包0> |
30 | \ \<右边格子内粗铁数量检查/<notextile>@</notextile>检查背包1> |
||
31 | 6 | yangdefeng | |
32 | [<notextile>@</notextile>检查背包0] |
||
33 | 1 | machenhe | #if |
34 | 2 | yangdefeng | *{color:green}checkBaItemCountEx* 麻布 3 |
35 | 1 | machenhe | #act |
36 | [[sendMsg]] 6 麻布有3以上 |
||
37 | 2 | yangdefeng | #elseAct |
38 | sendMsg 6 麻布不足3 |
||
39 | 6 | yangdefeng | |
40 | [<notextile>@</notextile>检测背包1] |
||
41 | 1 | machenhe | #if |
42 | 2 | yangdefeng | checkBaItemCountEx 粗铁 5 |
43 | 1 | machenhe | #act |
44 | 2 | yangdefeng | sendMsg 6 粗铁有5以上 |
45 | #elseAct |
||
46 | sendMsg 6 粗铁不足5 |