added /tick command
This commit is contained in:
@@ -79,10 +79,8 @@ void LuaConsole::simplify(const StringVec &words) {
|
||||
synerr("/quit takes no arguments");
|
||||
}
|
||||
} else if (words[0] == "tick") {
|
||||
if ((words.size() == 2)&&(util::validinteger(words[1]))) {
|
||||
// OK
|
||||
} else {
|
||||
synerr("/tick [optional-timestamp]");
|
||||
if (words.size() != 1) {
|
||||
synerr("/tick takes no arguments");
|
||||
}
|
||||
} else {
|
||||
synerr("unrecognized command");
|
||||
|
||||
Reference in New Issue
Block a user