ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/commands.ext
(Generate patch)

Comparing deliantra/server/ext/commands.ext (file contents):
Revision 1.24 by pippijn, Fri Mar 2 11:07:59 2007 UTC vs.
Revision 1.25 by pippijn, Fri Mar 2 11:13:50 2007 UTC

87 $ob->reply (undef, (join "\n", who_listing $ob->may ("extended_who")), cf::NDI_UNIQUE | cf::NDI_DK_ORANGE); 87 $ob->reply (undef, (join "\n", who_listing $ob->may ("extended_who")), cf::NDI_UNIQUE | cf::NDI_DK_ORANGE);
88 88
89 1 89 1
90}; 90};
91 91
92cf::register_command whereami => sub {
93 my ($ob) = @_;
94
95 my $reg = $ob->region;
96 $ob->reply (undef, (sprintf "You are %s.\n%s", $reg->longname, $reg->msg));
97
98 1
99};
100
92cf::register_command applymode => sub { 101cf::register_command applymode => sub {
93 my ($ob, $arg) = @_; 102 my ($ob, $arg) = @_;
94 my @types = ("nochoice", "never", "always"); 103 my @types = ("nochoice", "never", "always");
95 my $mapping = { 104 my $mapping = {
96 nochoice => 1, 105 nochoice => 1,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines