ReturnBoxItem » 历史记录 » 版本 4
yangdefeng, 2022-05-20 17:26
| 1 | 2 | yangdefeng | h4. _*%{color:green}returnBoxItem%*_ |
|---|---|---|---|
| 2 | 1 | yangdefeng | |
| 3 | 指定itemBox中的物品返回到背包 |
||
| 4 | |||
| 5 | 标签:命令定义|returnBoxItem |
||
| 6 | |||
| 7 | *格式* |
||
| 8 | |命令名 |参数1 | |
||
| 9 | |returnBoxItem |自定义道具栏编号 | |
||
| 10 | |||
| 11 | 说明: |
||
| 12 | 2 | yangdefeng | * 参数1: 自定义道具栏编号(0-7) |
| 13 | 1 | yangdefeng | |
| 14 | 2 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
| 15 | 1 | yangdefeng | |
| 16 | 4 | yangdefeng | *使用前提1* |
| 17 | 请开启配置开关"isUseCustomOKPanel" |
||
| 18 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
| 19 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
| 20 | |配置项 |isUseCustomOkPanel=1 | |
||
| 21 | |||
| 22 | h4. |
||
| 23 | - |
||
| 24 | - |
||
| 25 | |||
| 26 | 3 | yangdefeng | bq. [<notextile>@</notextile>main] |
| 27 | 1 | yangdefeng | #say |
| 28 | 3 | yangdefeng | <[[dlg_itemBox_|itemBox]]:0:-1:-1:0:0:-1:-1:*:tips> |
| 29 | <itemBox:1:-1:-1:200:0:-1:-1:*:tips> |
||
| 30 | 1 | yangdefeng | |
| 31 | 2 | yangdefeng | bq. <[[dlg_text_|text]]:退回0:0:400/<notextile>@</notextile>退回0> |
| 32 | 1 | yangdefeng | <text:退回1:200:400/<notextile>@</notextile>退回1> |
| 33 | |||
| 34 | bq. [<notextile>@</notextile>退回0] |
||
| 35 | #act |
||
| 36 | 2 | yangdefeng | *{color:green}returnBoxItem* 0 |
| 37 | 1 | yangdefeng | |
| 38 | bq. [<notextile>@</notextile>退回1] |
||
| 39 | #act |
||
| 40 | returnBoxItem 1 |