I have a script that sends a message to a room every 10 minutes. Then users send me a private message and instantly receive an automatic response from the script. I need to respond with a margin of 30s ~ 1min between each query because the network detects flood.
I've tried with the code below but it doesn't work since there are users who do not get a response
on ^*:OPEN:?: {
if ($nick !isop $chan) {
if ($network == [s]XXXXXXXX[/s]) {
if (!%delay) {
set -u60 %delay 1
msg $nick [s]XXXXXXXXXXXXXXXXXX[/s]
}
}
}
}
Can anybody help me? Thank you all