added ping
This commit is contained in:
parent
8a574db360
commit
3b429d7dd4
3 changed files with 21 additions and 3 deletions
|
@ -3,6 +3,8 @@ function playerCommand(player_id, command, args) {
|
|||
changeNick(player_id, args);
|
||||
} else if(command == "message") {
|
||||
message(player_id, args);
|
||||
} else if(command == "ping") {
|
||||
GGS.sendCommand(player_id, "pong", "");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue