找回密码
 立即注册
查看: 242|回复: 0

BLUE引擎 设置人物定时系统 定时器功能

[复制链接]

1604

主题

4

回帖

1万

积分

管理员

积分
12099
发表于 2023-9-5 21:58:07 | 显示全部楼层 |阅读模式
功能:
增加个人定时功能类似机器人!
个人定时器系统,格式:SETSCTIMER ID(0-9) 定时间隔(秒)
说明:定时器脚本位于QManage.txt里,定时器对应的为[@OnTimer0] [@OnTimer1] [@OnTimer2] ... [@OnTimer9]
用于停止指定的定时器,格式:KILLSCTIMER ID(0-9)
示例:
开启定时时器
#IF
#ACT
SetScTimer 0 20
#SAY
你已经开始定时器系统每20秒触发一次QManage.txt里[@OnTimer0]段
[@OnTimer0]
#ACT
SendMsg 5 你目前位于%m的(%x:%y)
停止定时器
#IF
#ACT
KillScTimer 0
#SAY
0号定时器已经停止

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服

我们提供的服务


Archiver|手机版|小黑屋|快来挑版本库 ( 浙ICP备2022035528号 )

GMT+8, 2025-2-23 01:19 , Processed in 0.148657 second(s), 20 queries .

Powered by Discuz! X3.5

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表