added ping

This commit is contained in:
Jeena Paradies 2011-05-04 12:30:37 +02:00
parent 8a574db360
commit 3b429d7dd4
3 changed files with 21 additions and 3 deletions

View file

@ -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", "");
}
}