Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是我的代码;
on *:text:!points:#:{ msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points. }
没关系,但如果有 5 个人连续点 !points,它会在聊天中发送垃圾邮件。如何让它每 10 秒更新一次,然后显示一条消息,其中包含在那十秒内提出问题但全部在一条消息中的人的观点?
这是一个在 5 秒内只需要 3 个请求的代码。
on *:text:!points:#: { inc -u5 %flood. [ $+ [ # ] $+ ] if (%flood. [ $+ [ # ] ] > 3) { return } msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points. }