AutoTakeOffItem » 历史记录 » 版本 1
machenhe, 2022-05-11 11:07
1 | 1 | machenhe | _*%{color:green}autoTakeOffItem%*_ |
---|---|---|---|
2 | 脱下指定装备位装备,放入背包 |
||
3 | |||
4 | 标签:命令定义|autoTakeOffItem |
||
5 | |||
6 | *格式* |
||
7 | |_.命令名 |_.参数1 | |
||
8 | |autoTakeOffItem|装备位id | |
||
9 | |||
10 | *说明* |
||
11 | * 参数1: 装备位id |
||
12 | 0-16 指定id装备位,参见 *[[装备位置|装备位id说明]]* |
||
13 | |||
14 | |||
15 | |||
16 | - |
||
17 | - |
||
18 | |||
19 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
20 | |||
21 | bq. [<notextile>@</notextile>main] |
||
22 | #if |
||
23 | [[equal]] [[装备位置|<$dress>]] |
||
24 | #act |
||
25 | [[messageBox]] 未穿戴衣服,穿上再试试 |
||
26 | break |
||
27 | #elseAct |
||
28 | [[mov]] s$衣服名称 <$dress> |
||
29 | |
||
30 | #if |
||
31 | #say |
||
32 | <脱下衣服(autoTakeOffItem)/<notextile>@</notextile>脱下衣服>\\ \\ |
||
33 | <穿上衣服(autoTakeOnItem)/<notextile>@</notextile>穿上衣服>\\ \\ |
||
34 | |
||
35 | <查看衣服装备位/<notextile>@</notextile>查看>\\ \\ |
||
36 | |
||
37 | [<notextile>@</notextile>脱下衣服] |
||
38 | #if |
||
39 | equal <$dress> |
||
40 | #act |
||
41 | [[sendTipsMsg]] 衣服穿戴情况--未穿戴/scolor=222 |
||
42 | #elseAct |
||
43 | *{color:green}autoTakeOffItem* 0 |
||
44 | sendTipsMsg 衣服穿戴情况--刚脱下/scolor=222 |
||
45 | |
||
46 | #if |
||
47 | #act |
||
48 | goto <notextile>@</notextile>查看 |
||
49 | |
||
50 | [<notextile>@</notextile>穿上衣服] |
||
51 | #if |
||
52 | equal <$dress> |
||
53 | #act |
||
54 | [[autoTakeOnItem]] s$衣服名称 0 |
||
55 | sendTipsMsg 衣服穿戴情况--刚穿上/scolor=222 |
||
56 | #elseAct |
||
57 | sendTipsMsg 衣服穿戴情况--没空位/scolor=222 |
||
58 | |
||
59 | #if |
||
60 | #act |
||
61 | goto <notextile>@</notextile>查看 |
||
62 | |
||
63 | [<notextile>@</notextile>查看] |
||
64 | #act |
||
65 | [[openSysUi]] 1 0 |