项目

一般

简介

AddButton » 历史记录 » 版本 4

tejie, 2025-06-07 11:55

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 3 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 3 tejie
分为上下两行,数字越小,越靠右靠上|
17 4 tejie
|^.参数4|按钮上显示文字
18 3 tejie
格式:文字颜色<notextile>|</notextile>文字|
19 4 tejie
|^.参数5|按钮存在时间,单位分钟
20 3 tejie
空:一直存在|
21 4 tejie
|^.参数6|是否显示倒计时 格式:时:分:秒
22 3 tejie
 1:显示
23 4 tejie
 0或空:不显示 |
24 1 machenhe
25 3 tejie
-
26
-
27 1 machenhe
28 3 tejie
h4. %{color:deepskyblue}特戒引擎脚本示例:%
29 1 machenhe
30
bq. [<notextile>@</notextile>加主界面右上按钮]
31
#act
32 3 tejie
*{color:green}addButton*  daojudikuang_suo 99 15 89|功能测试 10 1
33 1 machenhe
34
bq. %{color:green}QFunction-0.txt:%
35
[<notextile>@</notextile>ButtonClick99]
36
#act
37 3 tejie
[[sendMsg]] 6 测试addButton