ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/cfplus
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/cfplus (file contents):
Revision 1.45 by elmex, Fri Jun 2 16:52:49 2006 UTC vs.
Revision 1.46 by elmex, Fri Jun 2 18:46:16 2006 UTC

871 }, 871 },
872 on_activate => sub { 872 on_activate => sub {
873 my ($input, $text) = @_; 873 my ($input, $text) = @_;
874 $input->set_text (''); 874 $input->set_text ('');
875 875
876 if ($text =~ /^\/bind\s+(.*)$/) {
877 CFClient::Binder::open_binding_dialog (sub {
878 my ($mod, $sym) = @_;
879 $::CFG->{bindings}->{$mod}->{$sym} = [$1];
880 });
881 } elsif ($text =~ /^\/(.*)/) { 876 if ($text =~ /^\/(.*)/) {
882 $::CONN->user_send ($1); 877 $::CONN->user_send ($1);
883 } else { 878 } else {
884 my $say_cmd = $::CFG->{say_command} || 'say'; 879 my $say_cmd = $::CFG->{say_command} || 'say';
885 $::CONN->user_send ("$say_cmd $text"); 880 $::CONN->user_send ("$say_cmd $text");
886 } 881 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines