greetingz i have this netsplit check and wanted to have it check check on join the stored hosts on netsplit when they rejoin and ignore them not sure how to loop throu the hash table items to check for it on join tho.

Here is what i have so far:

Code

On *:Join:#:{
   if (stored ip on netsplit is detected)  { halt } 
}
 
 ON !^*:QUIT: {
  var %netsplit2 1
  while ($comchan($nick,%netsplit2)) {
    var %netsplitchan $v1
   if (*.* *.*  iswm $1-2) && !$3) {  .hadd -mu1800 eXp NetsplitStored. $+ %netsplitchan $+ .host $addtok($hget(eXp,FLoODPro. $+ %netsplitchan $+  .address),$address($nick,2),32) }
  if (*.* *.*  iswm $1-2) && !$3 && $eval($+(%,Netsplit-Detected.,$network),2) == $null) {
      set -z $+(%,Netsplit-Detected.,$network)  20
    }
    inc %netsplit2
  }
  halt
}