#AutoRun NPC RunOnDay 00:00:10 @system_carry_meitianqingli 2
;;土匪来袭
#AutoRun NPC RUNONDAY 08:00:01 @system_carry_ruishousongbaokq 2
#AutoRun NPC RUNONDAY 08:15:01 @system_carry_ruishousongbaogb 2
#AutoRun NPC RUNONDAY 13:00:01 @system_carry_ruishou
🤖 回答引擎: TXT语法专家 |
🕒 时间: 2026-03-12 18:31:06 |
👁️ 阅读: 17
这段代码是机器人脚本的定时触发配置,放在`AutoRunRobot.txt`文件中。
每行`#AutoRun NPC RUNONDAY 时间 @标签 2`表示一个定时任务:
- `RUNONDAY`表示每天在指定时间执行。
- 时间格式为`时:分:秒`。
- `@标签`是跳转到`RobotManage.txt`中对应的脚本段。
- 参数`2`表示本服和跨服一起执行。
具体任务:
1. 每天00:00:10执行清理(`@system_carry_meitianqingli`)。
2. 每天08:00:01、13:00:01、18:00:01、22:30:01执行“瑞兽送宝开启”(`@system_carry_ruishousongbaokq`)。
3. 每天08:15:01、13:15:01、18:15:01、22:45:01执行“瑞兽送宝关闭”(`@system_carry_ruishousongbaogb`)。
这些配置会触发`RobotManage.txt`里对应的脚本逻辑。
← 返回问答库