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.50 by root, Sun Jul 1 03:17:39 2007 UTC vs.
Revision 1.51 by root, Tue Jul 3 00:54:44 2007 UTC

244 _set_mode "usekeys", $ob, $arg, usekeys => qw(inventory keyrings containers); 244 _set_mode "usekeys", $ob, $arg, usekeys => qw(inventory keyrings containers);
245 245
246 1 246 1
247}; 247};
248 248
249cf::register_command hintmode => sub {
250 my ($ob, $arg) = @_;
251
252 _set_mode "hintmode", $ob, $arg, hintmode => qw(show mark hide);
253
254 1
255};
256
249cf::register_command afk => sub { 257cf::register_command afk => sub {
250 my ($ob, $arg) = @_; 258 my ($ob, $arg) = @_;
251 259
252 $ob->contr->ns->afk ($ob->contr->ns->afk ? 0 : 1); 260 $ob->contr->ns->afk ($ob->contr->ns->afk ? 0 : 1);
253 $ob->reply (undef, $ob->contr->ns->afk ? "You are now AFK" : "You are no longer AFK"); 261 $ob->reply (undef, $ob->contr->ns->afk ? "You are now AFK" : "You are no longer AFK");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines