helper.getStat
Prototype
function getStat(statname, playername)
Input parameters
statname - the name of the stat to get
playername - the user name of the player to get the stat for
Return value
A integer value with the stat
Description
Gets a stored stat from the database. The stat type must have been defined in the data store xml file, and have been previously stored using the storeStat function.
Example code
var maxQuestionsAnswered = getStat("maxQuestionsAnswered", player);
