in reply to Re^3: Script replaces instead of add
in thread Script replaces instead of add

This happens to give me the end result i wanted. Thank you. i dont understand what you're speaking about when you mentioned %hash.

Replies are listed 'Best First'.
Re^5: Script replaces instead of add
by soonix (Chancellor) on Jul 24, 2015 at 09:50 UTC
    This block in adddelays is superfluous:
    my %hash = map { $_, 1 } @nicks; @nicks = keys %hash; if (keys %delaylist) { my @isect = (); map { $hash{$_} = 1 } keys %delaylist; @isect = grep { $hash{$_} } @nicks; if (@isect) { # removedelays(@isect); } }
    It probably was supposed to remove those messages, which later would be overwritten anyway, so it was superfluous from the very beginning...