mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
/me usage ^^
This commit is contained in:
parent
e0b005e5b6
commit
0261a176be
1 changed files with 5 additions and 0 deletions
|
|
@ -55,6 +55,11 @@ class ChatAPI{
|
||||||
$this->server->api->chat->broadcast("[$sender] ".$s);
|
$this->server->api->chat->broadcast("[$sender] ".$s);
|
||||||
break;
|
break;
|
||||||
case "me":
|
case "me":
|
||||||
|
$s = implode(" ", $params);
|
||||||
|
if(trim($s) == ""){
|
||||||
|
$output .= "Usage: /me <message>\n";
|
||||||
|
break;
|
||||||
|
}
|
||||||
if(!($issuer instanceof Player)){
|
if(!($issuer instanceof Player)){
|
||||||
if($issuer === "rcon"){
|
if($issuer === "rcon"){
|
||||||
$sender = "Rcon";
|
$sender = "Rcon";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue