I think this is the code that will work for ips (it wont msg two times the same ip)

Code:
on *:text:*:?: {
  if $read(Hi.txt,w,$1-) {
    inc -u600 %autohi. $+ $address($nick,4)
    if ($($+(%,autohi.,$address($nick,4)),2) < 3) {
      .timer 1 3 msg $nick !$gettok($read(Hi.txt,$readn),-1,45)
    }
  }
}


any corrections?