Trivia plugin: correct ranks with the wrong type

Fix scores broken from commit 6d7a3cf3338e7ef61dc35571637a55e55725ea43,
remove unused curQ variable, and remove unused parameters in the
commands.