这是我的密码
on *:text:!points:#:{
msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points.
}没关系,但如果有5个人这样做!连续点,它会垃圾聊天。我如何让它每10秒更新一次,然后显示一条信息,其中包括在这10秒内询问过但全部都在一条消息中的人的要点?
发布于 2014-06-22 15:37:39
下面是一个代码,它将在5秒内只接受3个请求。
on *:text:!points:#: {
inc -u5 %flood. [ $+ [ # ] $+ ]
if (%flood. [ $+ [ # ] ] > 3) {
return
}
msg # $nick has $readini(Points.ini,$+(#,.,$nick),Points) total points.
}https://stackoverflow.com/questions/24352723
复制相似问题