项目

一般

简介

Dlg timeTipsEx » 历史记录 » 版本 1

tejie, 2025-10-20 17:05

1 1 tejie
h4. _*%{color:green}<timeTipsEx:%*_
2
3
自定义对话框中显示时分秒的倒计时
4
支持显示格式设置
5
参数之间以":"为分割符
6
7
标签:命令定义^<timeTipsEx:
8
9
*格式*
10
|命令名    |参数1|参数2|参数3   |参数4   |参数5   |参数6   |参数7   |参数8|参数9|跳转标记|
11
|timeTipsEx|x坐标|y坐标|时间变量|括号标记|格式类型|分隔标记|对齐方式|字号 |字色 |/@触发器|
12
13
*说明*
14
|参数1|x坐标|
15
|参数2|y坐标|
16
|参数3|时间变量|
17
|^.参数4|括号标记 可缺省
18
1 ()
19
2 []
20
3 {}
21
4 <>
22
其它自定义符号,
23
除以上符号外,以空格分隔的两个字符
24
【 】
25
「 」
26
...
27
倒计时结束,可执行跳转触发|
28
|^.参数5|格式类型 可缺省
29
0 1天1小时1分1秒,不会按位补0
30
1 0天0小时0分13秒,会按位补0
31
2 160小时0分13秒,会按位补0
32
3 61分13秒,会按位补0
33
4 111秒|
34
|^.参数6|分隔标记
35
0 汉字分隔
36
1 冒号分隔,且时分秒对应十位数自动补0|
37
|^.参数7|对齐方式
38
0 左对齐
39
1 居中对齐|
40
|参数8|字号|
41
|参数9|字色|
42
43
-
44
-
45
46
h4. *{color:deepSkyBlue}特戒引擎脚本示例*
47
48
bq. [@main]
49
#say
50
<<notextile></notextile>*{color:green}timeTipsEx*<notextile></notextile>:50:150:10000:1:1:1:1:40:250/@1>
51
<<notextile></notextile>*{color:green}timeTipsEx*<notextile></notextile>:50:250:70:2:2:0:0:50:250/@1>
52
<t<notextile></notextile>*{color:green}timeTipsEx*<notextile></notextile>:50:350:100000:3:3:1:1:60:250/@1>
53
<<notextile></notextile>*{color:green}timeTipsEx*<notextile></notextile>:50:450:100000:4:4:0:0:70:250/@1>
54
<<notextile></notextile>*{color:green}timeTipsEx*<notextile></notextile>:50:550:86420:::0:0:30:250/@1>