in reply to Re^2: Script replaces instead of add
in thread Script replaces instead of add
which sends the whole kaboodle as one message, make it$server->command("query $nick $delaylist{$nick}");
(in case you changed your delaylist from hash of strings to HoA). Similiar for listdelays. Something like$server->command("query $nick $_") for @{$delaylist{$nick}};
foreach (@nicks) { print "--> \cB$_\cB:\n"; print scalar @{ $delaylist{ $_ }} . " message(s)\n"; print "$_\n" for @{ $delaylist{ $_ }}; }
BTW to me, it looks like the part with my %hash = ... and @isect was superfluous from the beginning. you should remove it, because otherwise it will distract you when you have the next change :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Script replaces instead of add
by geekism (Initiate) on Jul 24, 2015 at 09:38 UTC | |
by soonix (Chancellor) on Jul 24, 2015 at 09:50 UTC |