CheckUseItem » 历史记录 » 版本 1
machenhe, 2022-05-11 11:15
| 1 | 1 | machenhe | _*%{color:green}checkUseItem%*_ |
|---|---|---|---|
| 2 | 检测角色身上指定装备位,是否穿戴了物品 |
||
| 3 | |||
| 4 | 标签:命令定义|checkUseItem |
||
| 5 | |||
| 6 | *格式* |
||
| 7 | |命令名 |参数1 | |
||
| 8 | |checkUseItem |装备位id | |
||
| 9 | |||
| 10 | *说明* |
||
| 11 | * 参数1: 装备位id(0-16) |
||
| 12 | 参见 *[[装备位置|装备位id(0-16)]]* |
||
| 13 | |||
| 14 | - |
||
| 15 | - |
||
| 16 | |||
| 17 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 18 | |||
| 19 | bq. [<notextile>@</notextile>main] |
||
| 20 | #say |
||
| 21 | <检测穿戴0/<notextile>@</notextile>检测穿戴(0)>< ><检测穿戴1/<notextile>@</notextile>检测穿戴(1)>\\ \\ |
||
| 22 | <检测穿戴2/<notextile>@</notextile>检测穿戴(2)>< ><检测穿戴3/<notextile>@</notextile>检测穿戴(3)>\\ \\ |
||
| 23 | <检测穿戴4/<notextile>@</notextile>检测穿戴(4)>< ><检测穿戴5/<notextile>@</notextile>检测穿戴(5)>\\ \\ |
||
| 24 | <检测穿戴6/<notextile>@</notextile>检测穿戴(6)>< ><检测穿戴7/<notextile>@</notextile>检测穿戴(7)>\\ \\ |
||
| 25 | <检测穿戴8/<notextile>@</notextile>检测穿戴(8)>< ><检测穿戴9/<notextile>@</notextile>检测穿戴(9)>\\ \\ |
||
| 26 | <检测穿戴10/<notextile>@</notextile>检测穿戴(10)>< ><检测穿戴11/<notextile>@</notextile>检测穿戴(11)>\\ \\ |
||
| 27 | <检测穿戴12/<notextile>@</notextile>检测穿戴(12)>< ><检测穿戴13/<notextile>@</notextile>检测穿戴(13)>\\ \\ |
||
| 28 | <检测穿戴14/<notextile>@</notextile>检测穿戴(14)>< ><检测穿戴15/<notextile>@</notextile>检测穿戴(15)>\\ \\ |
||
| 29 | <检测穿戴16/<notextile>@</notextile>检测穿戴(16)>\\ \\ |
||
| 30 | |
||
| 31 | |
||
| 32 | [<notextile>@</notextile>检测穿戴] |
||
| 33 | #if |
||
| 34 | *%{color:green}checkUseItem%* <$scriptParam1> |
||
| 35 | #act |
||
| 36 | [[sendMsg]] 6 <$scriptParam1>装备位穿戴情况--有 |
||
| 37 | #elseAct |
||
| 38 | sendMsg 6 <$scriptParam1>装备位穿戴情况--无 |