项目

一般

简介

GmExecute » 历史记录 » 版本 2

tejie, 2026-06-03 09:18

1 2 tejie
h4. _*%{color:green}gmExecute%*_
2
3 1 machenhe
让所有在线玩家同时执行一个指定脚本
4
基本只存在于RobotManage.txt文件中
5
6
标签:命令定义
7
8
*格式*
9
|命令名   |参数1     |参数2    |
10
|gmExeCute|执行命令名|@执行块名|
11
12
*说明*
13 2 tejie
|参数1|执行命令名
14
*写法1*
15 1 machenhe
startQuest
16 2 tejie
*写法2*
17 1 machenhe
配置文件位置
18
..\Mir\Command.ini
19
配置项
20 2 tejie
startQuest=执行命令名|
21
|参数2|脚本执行块的名称
22
执行QManage.txt中的@执行块名|
23 1 machenhe
24
*命令示例*
25
* 写法1
26 2 tejie
gmExecute startQuest @执行块
27 1 machenhe
* 写法2
28
%{color:lightGrey};如配置了startQuest=开始提问%
29 2 tejie
gmExecute 开始提问 @执行块
30 1 machenhe
31
-
32
-
33
34 2 tejie
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*
35 1 machenhe
36
bq. 编辑命令配置
37
..\Mir\Command.ini
38
startQuest=开始提问
39
40
bq. %{color:lightGrey};编辑AutoRunRobot.txt%
41
#AutoRun NPC MIN 1 @每分钟执行
42
43
bq. %{color:lightGrey};编辑RobotManage.txt%
44
[@每分钟执行]
45
#act
46 2 tejie
gmExecute 开始提问 <notextile>@</notextile>每分钟执行
47 1 machenhe
48
bq. %{color:lightGrey};编辑QManage.txt%
49
[@每分钟执行]
50
#act
51
sendMsg 6 一分钟计时到了