OpenSysUi » 历史记录 » 修订 2
修订 1 (machenhe, 2022-04-28 18:08) → 修订 2/3 (tejie, 2024-05-22 09:53)
_*%{color:green}openSysUi%*_
根据约定的ID打开对应UI
标签:命令定义|openSysUi
*格式*
|命令名 |参数1 |参数2 |
|openSysUi |界面主id |界面子id |
*说明*
* 参数1: 参见[[系统界面id设定]]系列界面主id
* 参数2: 参见[[系统界面id设定]]系列界面子id
对于没有界面子id的ui,参数2缺省
相关命令
[[closeSystemUi]]
-
-
*%{color:deepskyblue}脚本示例:%*
bq. [<notextile>@</notextile>main]
#say
<text:请输入要打开的界面:20:10/<notextile>@@</notextile>inPutString1>
<text:1角色:20:100>
<text:2好友:20:150>
<text:3行会:20:200>
<text:4摆摊:20:250>
<text:5排行:20:300>
<text:6邮件:20:350>
<text:7设置:20:400>
<text:8商城:20:450>
<text:9合成:20:500>
<text:10背包:200:100>
<text:11组队:200:150>
<text:13充值:200:200>
<text:14聊天:200:250>
<text:15小地图:200:300>
<text:16拍卖行:200:350>
<text:17技能设置:200:400>
<text:18仓库:200:450>
<text:打开的界面5秒后会关闭:20:600>
[<notextile>@</notextile>inPutString1]
#act
openSysUi <$str(s1)> 1
delaygoto 5000 <notextile>@</notextile>关闭
[<notextile>@</notextile>关闭]
#if
#act
closeSystemUi 1
closeSystemUi 2
%{color:lightGrey};closeSystemUi 3%
closeSystemUi 4
closeSystemUi 5
closeSystemUi 6
closeSystemUi 7
closeSystemUi 8
closeSystemUi 9
closeSystemUi 10
closeSystemUi 11
closeSystemUi 13
closeSystemUi 14
closeSystemUi 15
closeSystemUi 16
closeSystemUi 17
closeSystemUi 18