Mercurial > hg > skillbot
comparison skillbot.pl @ 44:f7abbe853f5d
Adding character name to downtime coincide message
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Wed, 17 Dec 2008 00:17:45 +0000 |
parents | edb68779265b |
children | 1d349044c860 |
comparison
equal
deleted
inserted
replaced
43:edb68779265b | 44:f7abbe853f5d |
---|---|
504 | 504 |
505 # Check if the finish time is within scheduled EVE downtime | 505 # Check if the finish time is within scheduled EVE downtime |
506 if (skill_finish_in_downtime($f->{skill})) | 506 if (skill_finish_in_downtime($f->{skill})) |
507 { | 507 { |
508 $self->privmsg('#' . $config{channel}, sprintf( | 508 $self->privmsg('#' . $config{channel}, sprintf( |
509 "\002%s:\002 Training completion time of %s %lu will " . | 509 "\002%s:\002 Completion time of %s's %s %lu " . |
510 "coincide with scheduled downtime at %s", | 510 "skill will coincide with scheduled downtime at %s", |
511 $f->{nick}, $f->{skill}->name, $f->{skill}->level, | 511 $f->{nick}, $f->{char}->name, |
512 $f->{skill}->name, $f->{skill}->level, | |
512 scalar(gmtime($f->{skill}->finish_time)))); | 513 scalar(gmtime($f->{skill}->finish_time)))); |
513 } | 514 } |
514 | 515 |
515 my $text = sprintf("%s has completed training skill %s %s", | 516 my $text = sprintf("%s has completed training skill %s %s", |
516 $f->{char}->name, $skill->name, $skill->level); | 517 $f->{char}->name, $skill->name, $skill->level); |