How does this command stop working? I'll assume you're referring to "fast fire 2" instead, which works on my machine.
Switching profiles does stop any commands that are actively running at the time, but that shouldn't stop that command from working, afterward.
Do note that a command like that, which is set up to fire much faster than humanly possible (as there is no added delay), should not be used in any multiplayer game, unless it is explicitly allowed by the developers of that game.