项目

一般

简介

AddButton » 历史记录 » 版本 6

tejie, 2025-07-16 15:35

1 3 tejie
h4. _%{color:green}addButton%_
2 1 machenhe
3
在主界面右上角添加自定义按钮
4
5 3 tejie
标签:命令定义^addButton
6 1 machenhe
7
*格式*
8
|命令名		|参数1		|参数2		|参数3		|参数4		|参数5		|参数6		|
9
|addButton	|图片名称	|脚本触发序号	|按钮位置序号	|按钮上显示文字	|按钮存在时间	|是否显示倒计时	|
10
11
说明:
12 5 tejie
|参数  1|图片名称|
13 4 tejie
|^.参数2|脚本触发序号,
14 3 tejie
触发 %{color:green}..\Mir200\Envir\Market_Def\QFunction-0.txt% 中的 %{color:orange}[@ButtonClickX]% ,X即为触发序号|
15 4 tejie
|^.参数3|按钮位置序号,
16 1 machenhe
分为上下两行,数字越小,越靠右靠上|
17 5 tejie
|^.参数4
18
可缺省|按钮上显示文字
19 6 tejie
格式:文字颜色<notextile>|</notextile>文字,配置为<notextile>“|”</notextile>时,本文为空|
20 5 tejie
|^.参数5
21
可缺省|按钮存在时间,单位分钟
22 4 tejie
空:一直存在|
23 5 tejie
|^.参数6
24
可缺省|是否显示倒计时 格式:时:分:秒
25 3 tejie
 1:显示
26 4 tejie
 0或空:不显示 |
27 1 machenhe
28 3 tejie
-
29
-
30 1 machenhe
31 3 tejie
h4. %{color:deepskyblue}特戒引擎脚本示例:%
32 1 machenhe
33
bq. [<notextile>@</notextile>加主界面右上按钮]
34
#act
35 3 tejie
*{color:green}addButton*  daojudikuang_suo 99 15 89|功能测试 10 1
36 1 machenhe
37
bq. %{color:green}QFunction-0.txt:%
38
[<notextile>@</notextile>ButtonClick99]
39
#act
40 3 tejie
[[sendMsg]] 6 测试addButton