项目

一般

简介

BagItemIntoBox » 历史记录 » 版本 1

machenhe, 2022-05-10 19:02

1 1 machenhe
_*%{color:green}bagItemIntoBox%*_
2
3
把背包中的指定物品放入指定itemBox
4
5
标签:命令定义|bagItemIntoBox
6
7
*格式*
8
|命令名		|参数1		|参数2		|参数3		|
9
|bagItemIntoBox	|物品名称	|itemBox编号	|放入数量	|
10
11
说明:
12
* 参数1
13
物品名称
14
15
* 参数2
16
OK框编号(0-7)
17
18
* 参数3
19
放入数量
20
21
%{color:red}注意:
22
使用该命令放入itembox的物品不会真的扣除背包内的物品,只有进行操作后,例如delBoxItem删除道具,背包才会刷新显示,所以使用时最好不要允许打开背包%
23
24
*%{color:deepskyblue}脚本示例:%*
25
26
bq. [<notextile>@</notextile>main]
27
#ACT
28
#say
29
<ITEMBOX:0:-1:0:0:0:40:40:*:tips>
30
<ITEMBOX:1:-1:0:200:0:40:40:*:tips>
31
32
bq. <text:放入0:0:400/<notextile>@</notextile>放入0>
33
<text:放入1:200:400/<notextile>@</notextile>放入1>
34
35
bq. [<notextile>@</notextile>放入0]
36
#act
37
bagItemIntoBox 粗铁 0 3
38
39
bq. [<notextile>@</notextile>放入1]
40
#act
41
bagItemIntoBox 麻布 1 5