#seconds&之后的自动响应#ofmessagelines

时间:2015-12-30 07:39:30

标签: twitch mirc

我想计算已经过去的#ofmessagelines和#amountoftime。

主要剧本:

menu channel {
Announce
.Start: .timerAnnounce. $+ $chan 0 11 msg $chan $$?="Hi msg"
.Stop: .timerAnnounce. $+ $chan off
}

**给出的例子**

ON *:TEXT:*:#: {
if (%announce) {
inc %msgcounter 1
if (%msgcounter >= 10) {
if ($calc($ctime - %announce) >= 600) {
msg #chan YOur msg here
unset %msgcounter
set %announce $ctime
}
}
}
}

0 个答案:

没有答案