… | |
… | |
10 | ; |
10 | ; |
11 | |
11 | |
12 | cf::player::attachment "log_told", |
12 | cf::player::attachment "log_told", |
13 | on_tell => sub { |
13 | on_tell => sub { |
14 | my ($self, $other, $msg) = @_; |
14 | my ($self, $other, $msg) = @_; |
|
|
15 | |
|
|
16 | my $name = $self->ob->name; |
15 | ext::schmorp_irc::do_notice ("[$self->$other]: $msg\n"); |
17 | ext::schmorp_irc::do_notice ("[$name->$other]: $msg\n"); |
16 | }, |
18 | }, |
17 | on_told => sub { |
19 | on_told => sub { |
18 | my ($self, $pl, $msg) = @_; |
20 | my ($self, $pl, $msg) = @_; |
19 | |
21 | |
20 | my $name = $self->ob->name; |
22 | my $name = $self->ob->name; |