function inRanked(){
    if(!lobbyBypass){
        return settings.getItem("BlockRankedChat") ? (settings.getItem("BlockRankedChat") == "true" && lobby.settings.gameMode === "Ranked") : function(){settings.setItem("BlockRankedChat", false); return false;}() && lobby.settings.gameMode === "Ranked";
    } else {
        return settings.getItem("BlockRankedChat") ? (settings.getItem("BlockRankedChat") == "true" && quiz.gameMode === "Ranked") : function(){settings.setItem("BlockRankedChat", false); return false;}() && quiz.gameMode === "Ranked";
    }
}
/*
 * Helper function to determine if the user is in Ranked
 */
Helper function to determine if the user is in Ranked
Helper function to determine if the user is in Ranked
function inRanked(){
    if(!lobbyBypass){
        return settings.getItem("BlockRankedChat") ? (settings.getItem("BlockRankedChat") == "true" && lobby.settings.gameMode === "Ranked") : function(){settings.setItem("BlockRankedChat", false); return false;}() && lobby.settings.gameMode === "Ranked";
    } else {
        return settings.getItem("BlockRankedChat") ? (settings.getItem("BlockRankedChat") == "true" && quiz.gameMode === "Ranked") : function(){settings.setItem("BlockRankedChat", false); return false;}() && quiz.gameMode === "Ranked";
    }
}
function inRanked ( ) { if ( ! lobbyBypass ) { return settings . getItem ( "BlockRankedChat" ) ? ( settings . getItem ( "BlockRankedChat" ) == "true" && lobby . settings . gameMode === "Ranked" ) : function ( ) { settings . setItem ( "BlockRankedChat" , false ) ; return false ; } ( ) && lobby . settings . gameMode === "Ranked" ; } else { return settings . getItem ( "BlockRankedChat" ) ? ( settings . getItem ( "BlockRankedChat" ) == "true" && quiz . gameMode === "Ranked" ) : function ( ) { settings . setItem ( "BlockRankedChat" , false ) ; return false ; } ( ) && quiz . gameMode === "Ranked" ; } }
Helper function to determine if the user is in Ranked
Helper function to determine if the user is in Ranked