How do I boot from a Windows USB with a Mac?

At present, it does not appear that there is a way to reset any stats.

The forums seems to indicate that the only way to do it is to be caught hacking and then get your stats reset by DICE. However, there is no guarantee that they wouldn't just ban you instead.

BF3 is different to BF:BC2, where you could have different profiles on the same account.


Here are two ways to get the number of \\ tokens in an argument. In both cases the counter \l_cnobs_count_int will contain that number (three for the example).

First way (with token lists)

\documentclass{article}
\usepackage{xparse}
\ExplSyntaxOn
\NewDocumentCommand{\countbstl}{m}
 {
  \cnobs_main_one:n { #1 }
 }

\int_new:N \l_cnobs_count_int

\cs_new_protected:Npn \cnobs_main_one:n #1
 {
  \int_zero:N \l_cnobs_count_int
  \tl_map_inline:nn { #1 } 
   {
    \tl_if_eq:nnT { ##1 } { \\ } { \int_incr:N \l_cnobs_count_int }
   }
  \int_show:N \l_cnobs_count_int
 }
\ExplSyntaxOff

\countbstl{aaa\\ bbb \\ ccc \\}

\stop

Second way (with regular expressions)

\documentclass{article}
\usepackage{xparse,l3regex}
\ExplSyntaxOn
\NewDocumentCommand{\countbsregex}{m}
 {
  \cnobs_main_two:n { #1 }
 }

\int_new:N \l_cnobs_count_int

\cs_new_protected:Npn \cnobs_main_two:n #1
 {
  \int_zero:N \l_cnobs_count_int
  \regex_count:nnN { \c{ \\ } } { #1 } \l_cnobs_count_int
  \int_show:N \l_cnobs_count_int
 }

\ExplSyntaxOff

\countbsregex{aaa\\ bbb \\ ccc \\}

\stop

One might easily modify this to count the number of control sequences; by changing the \regex_count:nnN line into

  \regex_count:nnN { \c{ .* } } { #1 } \l_cnobs_count_int

an input such as

\countbsregex{\textbf{aaa}\\ bbb \\ ccc \\}

will store 4 in the counter. A further change

  \regex_count:nnN { \c{ .* } | \cA. } { #1 } \l_cnobs_count_int

will count also active characters, so

\countbsregex{\textbf{aaa}\\ bbb~bbb \\ ccc \\}

stores 5 in the counter.


It's hard to say how to use this in your very complicated (and unexplained) code.