Netsplits weren't considered in this script, could be easily fixed with a if ($nick !isreg $chan) i think.
Why did you excess flood? Did you change the trigger?