ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/schmorplog.ext
Revision: 1.5
Committed: Tue Mar 28 16:08:19 2006 UTC (18 years, 1 month ago) by root
Branch: MAIN
Changes since 1.4: +8 -8 lines
Log Message:
decrossfirefy global event calling conventions

File Contents

# Content
1 #! perl
2
3 sub on_login {
4 my ($ob, $host) = @_;
5
6 cf::LOG cf::llevDebug, sprintf "QBERT %s logged in\n",
7 $ob->name, $host;
8 }
9
10 sub on_logout {
11 my ($ob, $host) = @_;
12
13 cf::LOG cf::llevDebug, sprintf "QBERT %s left\n",
14 $ob->name, $host;
15 }
16
17 sub on_shout {
18 my ($ob, $msg) = @_;
19
20 cf::LOG cf::llevDebug, sprintf "QBERT [%s] %s\n",
21 $ob->name, $msg;
22 }
23
24 sub on_player_death {
25 my ($ob) = @_;
26
27 cf::LOG cf::llevDebug, sprintf "QBERT %s died a quick and not very horrible death\n",
28 $ob;
29 }