行为
gmExecute¶
让所有在线玩家同时执行一个指定脚本
基本只存在于RobotManage.txt文件中
标签:命令定义
格式| 命令名 | 参数1 | 参数2 |
| gmExeCute | 执行命令名 | @执行块名 |
| 参数1 | 执行命令名 写法1 startQuest 写法2 配置文件位置 ..\Mir\Command.ini 配置项 startQuest=执行命令名 |
| 参数2 | 脚本执行块的名称 执行QManage.txt中的@执行块名 |
- 写法1
gmExecute startQuest @执行块 - 写法2
;如配置了startQuest=开始提问
gmExecute 开始提问 @执行块
特戒引擎脚本示例:¶
编辑命令配置
..\Mir\Command.ini
startQuest=开始提问
;编辑AutoRunRobot.txt
#AutoRun NPC MIN 1 @每分钟执行
;编辑RobotManage.txt
[@每分钟执行]
#act
gmExecute 开始提问 @每分钟执行
;编辑QManage.txt
[@每分钟执行]
#act
sendMsg 6 一分钟计时到了