Trivia plugin: correct ranks with the wrong type

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