MessageBox » 历史记录 » 版本 2
machenhe, 2022-04-28 19:13
| 1 | 1 | machenhe | _*%{color:green}messageBox%*_ |
|---|---|---|---|
| 2 | 弹出文字信息对话框 |
||
| 3 | |||
| 4 | 2 | machenhe | 标签:命令定义|messageBox |
| 5 | 1 | machenhe | |
| 6 | *格式* |
||
| 7 | |_.命令 |_.参数1 |_.参数2 |_.参数3 | |
||
| 8 | |messageBox |文字信息 |跳转标签 |对齐方式 | |
||
| 9 | |||
| 10 | *说明* |
||
| 11 | * 参数1 |
||
| 12 | 支持变量形式的字符串 |
||
| 13 | 可使用\"\\\"换行 |
||
| 14 | |||
| 15 | * 参数2 |
||
| 16 | 空格分隔的跳转标签 |
||
| 17 | 最多支持4个 |
||
| 18 | 对话框底部居中分布 |
||
| 19 | |||
| 20 | * 参数3 |
||
| 21 | 文字对话方式 |
||
| 22 | ** /*0 居中对齐 |
||
| 23 | ** /*1 左对齐 |
||
| 24 | ** /*2 右对齐 |
||
| 25 | ** 缺省时默认居中对齐 |
||
| 26 | |||
| 27 | |||
| 28 | *%{color:deepskyblue}脚本示例:%* |
||
| 29 | |||
| 30 | bq. [@main] |
||
| 31 | #act |
||
| 32 | messagebox 所在地图:%m\\角色:<$userName>\\其它信息 <notextile>@1 @2 @3 @4</notextile> /*1 |
||
| 33 | %{color:lightGrey};点击按钮1跳转% |
||
| 34 | <notextile>[@1]</notextile> |
||
| 35 | #act |
||
| 36 | sendMsg 6 点击了按钮1 |
||
| 37 | %{color:lightGrey};点击按钮2跳转% |
||
| 38 | <notextile>[@2]</notextile> |
||
| 39 | #act |
||
| 40 | sendMsg 6 点击了按钮2 |
||
| 41 | %{color:lightGrey};点击按钮3跳转% |
||
| 42 | <notextile>[@3]</notextile> |
||
| 43 | #act |
||
| 44 | sendMsg 6 点击了按钮3 |
||
| 45 | %{color:lightGrey};点击按钮4跳转% |
||
| 46 | <notextile>[@4]</notextile> |
||
| 47 | #act |
||
| 48 | sendMsg 6 点击了按钮4 |