项目

一般

简介

ChkItemBoxNull » 历史记录 » 版本 3

yangdefeng, 2022-05-21 13:10

1 2 yangdefeng
h4. _*%{color:green}chkItemBoxNull%*_
2 1 machenhe
3
检测指定itemBox中有无物品
4
5
标签:命令定义|chkItemBoxNull
6
7
*格式*
8
|命令名		|参数1		|
9
|chkItemBoxNull	|itemBox编号	|
10
11
说明:
12 2 yangdefeng
* 参数1: itemBox编号(0-7)
13 1 machenhe
14 2 yangdefeng
-
15
-
16 1 machenhe
17 2 yangdefeng
h4. *%{color:deepskyblue}脚本示例:%*
18
19
-
20
-
21
22 1 machenhe
bq. [<notextile>@</notextile>main]
23
#say
24 3 yangdefeng
<[[dlg_itembox_|itembox]]:0:-1:-1:0:0:-1:-1:*:tips>
25
<itembox:1:-1:-1:200:0:-1:-1:*:tips>
26
\ \ \ \<左边格子内是否有道具/<notextile>@</notextile>检验(0)>
27
\ \<右边格子内是否有道具/<notextile>@</notextile>检验(1)>
28
&nbsp;
29
[<notextile>@</notextile>检验]
30
#if
31
*{color:green}chkItemBoxNull* [[checkScriptParam|<$scriptParam1>]]
32 1 machenhe
#act
33 3 yangdefeng
[[messageBox]] <$scriptParam1>号itemBox有道具
34 1 machenhe
#elseAct
35 3 yangdefeng
messageBox <$scriptParam1>号itemBox无道具