protected function withScores()
{
$arguments = $this->getArguments();
for ($i = 3; $i < count($arguments); ++$i) {
switch (strtoupper($arguments[$i])) {
case 'WITHSCORES':
return true;
case 'LIMIT':
$i += 2;
break;
}
}
return false;
}