ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/chat.ext
(Generate patch)

Comparing deliantra/maps/perl/chat.ext (file contents):
Revision 1.6 by pippijn, Sun May 7 08:24:50 2006 UTC vs.
Revision 1.7 by root, Sun May 7 08:26:47 2006 UTC

8 8
9 if ($msg) { 9 if ($msg) {
10 my $name = $who->name; 10 my $name = $who->name;
11 11
12 $_->ob->message ("$name chats: $msg", cf::NDI_BLUE) 12 $_->ob->message ("$name chats: $msg", cf::NDI_BLUE)
13 for grep !$player->ob->{ext_ignore_shout}, cf::player::list; 13 for grep !$_->ob->{ext_ignore_shout}, cf::player::list;
14 14
15 } else { 15 } else {
16 $who->message ("Chat what?", cf::NDI_UNIQUE); 16 $who->message ("Chat what?", cf::NDI_UNIQUE);
17 } 17 }
18}; 18};
22 22
23 if ($msg) { 23 if ($msg) {
24 my $name = $who->name; 24 my $name = $who->name;
25 25
26 $_->ob->message ("$name shouts: $msg", cf::NDI_RED) 26 $_->ob->message ("$name shouts: $msg", cf::NDI_RED)
27 for grep !$player->ob->{ext_ignore_shout}, cf::player::list; 27 for grep !$_->ob->{ext_ignore_shout}, cf::player::list;
28 28
29 } else { 29 } else {
30 $who->message ("Shout what?", cf::NDI_UNIQUE); 30 $who->message ("Shout what?", cf::NDI_UNIQUE);
31 } 31 }
32 32

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines