0

这是我的代码;

on *:text:!points:#:{ 
  msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points. 
}

没关系,但如果有 5 个人连续点 !points,它会在聊天中发送垃圾邮件。如何让它每 10 秒更新一次,然后显示一条消息,其中包含在那十秒内提出问题但全部在一条消息中的人的观点?

4

1 回答 1

0

这是一个在 5 秒内只需要 3 个请求的代码。

on *:text:!points:#: {
    inc -u5 %flood. [ $+ [ # ] $+ ]
    if (%flood. [ $+ [ # ] ] > 3) {
        return
    }
    msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points. 
}
于 2014-06-22T15:37:39.537 回答