This commit is contained in:
ArkQuark 2022-03-08 16:23:48 +03:00
parent 0261a176be
commit df75cf941a
6 changed files with 23 additions and 21 deletions

View file

@ -92,12 +92,12 @@ class ChatAPI{
}
}
$mes = implode(" ", $params);
$output .= "You're whispering to ".$target." ".$mes."\n";
$output .= "You're whispering to ".$target.": ".$mes."\n";
if($target !== "Console" and $target !== "Rcon"){
$this->sendTo(false, $sender." whispers to you: ".$mes, $target);
}
if($target === "Console" or $sender === "Console"){
console("[INFO] ".$sender." whispers to ".$target." : ".$mes);
console("[INFO] ".$sender." whispers to ".$target.": ".$mes);
}
break;
}