Fix error on /ticks command with invalid parameters.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>