--- deliantra/server/ext/irc.ext 2007/05/18 21:24:31 1.2 +++ deliantra/server/ext/irc.ext 2007/08/25 11:51:04 1.5 @@ -38,7 +38,7 @@ if ($msg eq "!who") { do_notice $_ - for ext::commands::who_listing (); + for ext::commands::who_listing (0, "."); } elsif ($msg =~ /^\!tell/) { my (undef, $target, $tmsg) = split / /, $msg, 3; @@ -53,8 +53,7 @@ } else { cf::LOG cf::llevDebug, sprintf "TELL [%s/%s>%s] %s\n", $name, $me, $target, $tmsg; - $other->ob->message ("$name/$me tells you: $tmsg"); - $other->ob->{ext_last_tell} = "$name/$me"; + $other->ns->send_msg (cf::chat::tell_channel ("$name/$me"), "$name/$me tells you: $tmsg", cf::NDI_DK_ORANGE | cf::NDI_DEF); } } else { do_notice "$me: What do you want to tell $target?"; @@ -88,8 +87,8 @@ if ($tmsg =~ /^\!/) { handle_fcmd ($name, $nick, $tmsg); } elsif ($tmsg =~ m/\S/) { - $_->ob->message ( - "$name/".$nick." chats: $tmsg", cf::NDI_BLUE + $_->ns->send_msg ($ext::chat::CHAT_CHANNEL, + "$name/".$nick." chats: $tmsg", cf::NDI_BLUE | cf::NDI_DEF ) for grep { $_->ob->{ext_ignore_shout}{$name} < $NOW && $_->listening >= 10 } cf::player::list; } 1;