… | |
… | |
15 | } |
15 | } |
16 | |
16 | |
17 | sub on_shout { |
17 | sub on_shout { |
18 | my ($event) = @_; |
18 | my ($event) = @_; |
19 | |
19 | |
20 | cf::LOG cf::llevDebug, sprintf "QBERT %s: %s\n", |
20 | cf::LOG cf::llevDebug, sprintf "QBERT [%s] %s\n", |
21 | $event->{activator}->name, $event->{message}; |
21 | $event->{activator}->name, $event->{message}; |
22 | } |
22 | } |
23 | |
23 | |
24 | sub on_player_death { |
24 | sub on_player_death { |
25 | my ($event) = @_; |
25 | my ($event) = @_; |
26 | |
26 | |
27 | cf::LOG cf::llevDebug, sprintf "QBERT %s died\n", |
27 | cf::LOG cf::llevDebug, sprintf "QBERT %s died a quick and not very horrible death\n", |
28 | $event->{who}->name; |
28 | $event->{who}->name; |
29 | } |
29 | } |