SetCustomItemText » 历史记录 » 版本 1
tejie, 2024-07-02 11:18
| 1 | 1 | tejie | h4. _*{color:green}setCustomItemText*_ |
|---|---|---|---|
| 2 | |||
| 3 | 指定装备位 自定义属性 头部区域 文本赋值 |
||
| 4 | |||
| 5 | gee系列兼容 |
||
| 6 | |||
| 7 | 标签:命令定义|setCustomItemText>setCustomItemText |
||
| 8 | |||
| 9 | *格式* |
||
| 10 | |命令名 |参数1 |参数2 | |
||
| 11 | |setCustomItemText |装备位id |文本内容 | |
||
| 12 | |||
| 13 | - |
||
| 14 | - |
||
| 15 | |||
| 16 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
| 17 | |||
| 18 | bq. <notextile>[@main]</notextile> |
||
| 19 | #if |
||
| 20 | [[checkUseItem]] 1 |
||
| 21 | #say |
||
| 22 | <notextile><Text:自定义区域头部文本:0:0/@@inputString1(请输入自定义区域头部文本)></notextile> |
||
| 23 | <notextile><Text:自定义区域头部文本颜色:0:64/@@inPutInteger1(请输入数字0~255)></notextile> |
||
| 24 | #elseAct |
||
| 25 | [[sendTipsMsg]] 请穿戴武器后测试/scolor=222 |
||
| 26 | <notextile></notextile> |
||
| 27 | <notextile>[@InputString1]</notextile> |
||
| 28 | #act |
||
| 29 | %{color:lightGrey};支持换行 \% |
||
| 30 | *{color:green}setCustomItemText* 1 S1 |
||
| 31 | [[sendTipsMsg]] 武器描述头部文本设定完毕----<notextile><$str(S1)>/scolor=222</notextile> |
||
| 32 | [[print]] 武器描述头部文本设定完毕----<notextile><$str(S1)></notextile> |
||
| 33 | <notextile></notextile> |
||
| 34 | <notextile>[@inPutInteger1]</notextile> |
||
| 35 | #act |
||
| 36 | [[setCustomItemTextColor]] 1 N1 |
||
| 37 | [[sendTipsMsg]] 武器描述头部文本颜色<notextile><$str(N1)>/scolor=222</notextile> |
||
| 38 | [[print]] 武器描述头部文本颜色<notextile><$str(N1)></notextile> |
||
| 39 | |||
| 40 | - |
||
| 41 | - |
||
| 42 | |||
| 43 | |!自定义属性头部本文效果.png!| |