Next time there's a mass shooting, don't jump to blame the National Rifle Association and lax gun laws. Look first at the shooter and the mental health services he did or didn't get, and the commitment laws in the state where the shooting took place.

Strengthening gun control won't stop the next mass shooter, but changing our attitudes, the treatment options we offer and the laws for holding the mentally unstable and mentally ill for treatment just might.

Take the case of the recent mass shooting incident in Isla Vista, California. Police say Elliot Rodger went on a killing spree near the University of California campus in Santa Barbara, shooting and stabbing victims, killing six and wounding 13 before he killed himself.

Mel Robbins

He had legally purchased three guns, passed a federal background check and met several other requirements in one of the most liberal states with the toughest gun control laws in the country. California was one of eight states that passed major gun reforms in the wake of 2012's Sandy Hook Elementary School shooting, in which a lone gunman killed 20 children and six adults.

In fact California's gun control laws received an "A-" grade from both The Brady Campaign to Prevent Gun Violence and the Law Center to Prevent Gun Violence, the Los Angeles Times reported.

In this climate, how did Rodger succeed in his lethal plan? It wasn't the gun laws, it was the lack of common sense mental commitment laws.

A 2014 report by the Treatment Advocacy Center, a nonprofit aimed at removing the stigma of mental illness and barriers to treatment, analyzed the state of mental commitment laws state by state, looking at both the "quality of involuntary treatment (civil commitment) laws which facilitate emergency hospitalization during a psychiatric emergency and the availability of court orders mandating continued treatment as a condition of living in a community."

On virtually all counts, California received an "F" (it got a "C" on emergency evaluation). In Rodger's case, a friend concerned about alarming videos he'd posted on YouTube had alerted a county mental health staff member, and police had conferred with his mother, but this was not enough to get him committed.

Under California's Welfare and Institutions Code Section 5150, a person must be a danger to himself or others before he can be held for 72 hours for evaluation, and the standard is even higher to mandate treatment. Police visiting Rodger found him to be "polite and courteous" and not an apparent danger, so they had no authority to detain him or search his home for weapons to seize. The reason had nothing to do with gun laws. It had to do with the commitment laws in California.

We need to adopt a nationwide standard for involuntary civil commitment, and that standard should be "need for treatment." If a family member, law enforcement officer or mental health professional is concerned about the well-being of an individual, they should be able to have that individual held for a mental health evaluation.

Indeed, the Treatment Advocacy Center's report describes the exact situation police found themselves in when they conducted that "well-being" check on Rodger:

"But what if the person is neither threatening violence against anyone nor at any apparent imminent risk of injuring himself? What if the concern spurring the family member to seek help is simply that the person is suffering, tormented by terrifying delusions, yet somehow unaware that he is ill? Do we as a society have reason to intervene? To answer 'yes,' we must believe there is a compelling societal imperative beyond preventing imminent injury or death -- an imperative to liberate a person from a hellish existence he would never -- in his 'right mind' -- choose."

The truth is that commitment laws shouldn't be a stopgap to prevent imminent harm, but rather seen as an essential tool to help a loved one needing treatment before things reach the imminent harm stage.

Photos:Worst mass shootings in U.S.

Photos:Worst mass shootings in U.S.

Police direct family members away from the scene of a shooting Sunday, June 12, at the Pulse nightclub in Orlando. A gunman opened fire at the club, killing 50 people and injuring at least 53, police said. It is now the deadliest shooting rampage in U.S. history.

Hide Caption

1 of 18

Photos:Worst mass shootings in U.S.

In December, two shooters killed 14 people and injured 21 at the Inland Regional Center in San Bernardino, California, where employees with the county health department were attending a holiday event. The shooters, Syed Rizwan Farook and his wife Tashfeen Malik, were later killed in a shootout with authorities. The pair were found to be radicalized extremists who planned the shootings as a terror attack, investigators said.

Hide Caption

2 of 18

Photos:Worst mass shootings in U.S.

Police search students outside Umpqua Community College after a deadly shooting at the school in Roseburg, Oregon, in October. Nine people were killed and at least nine were injured, police said. The gunman, Chris Harper-Mercer, committed suicide after exchanging gunfire with officers, a sheriff said.

Hide Caption

3 of 18

Photos:Worst mass shootings in U.S.

A man kneels across the street from the historic Emanuel African Methodist Episcopal Church in Charleston, South Carolina, following a shooting in June 2015. Police say the suspect, Dylann Roof, opened fire inside the church, killing nine people. According to police, Roof confessed and told investigators he wanted to start a race war. He pleaded not guilty to 33 federal charges in July.

Hide Caption

4 of 18

Photos:Worst mass shootings in U.S.

Police officers walk on a rooftop at the Washington Navy Yard after a shooting rampage in the nation's capital in September 2013. At least 12 people and suspect Aaron Alexis were killed, according to authorities.

Hide Caption

5 of 18

Photos:Worst mass shootings in U.S.

Connecticut State Police evacuate Sandy Hook Elementary School in Newtown, Connecticut, in December 2012. Adam Lanza opened fire in the school, killing 20 children and six adults before killing himself. Police said he also shot and killed his mother in her Newtown home.

Hide Caption

6 of 18

Photos:Worst mass shootings in U.S.

James Holmes pleaded not guilty by reason of insanity to a July 2012 shooting at a movie theater in Aurora, Colorado. Twelve people were killed and dozens were wounded when Holmes opened fire during the midnight premiere of "The Dark Knight Rises." He was sentenced to 12 life terms plus thousands of years in prison.

Hide Caption

7 of 18

Photos:Worst mass shootings in U.S.

A military jury convicted Army Maj. Nidal Hasan of 13 counts of premeditated murder for a November 2009 shooting rampage at Fort Hood, Texas. Thirteen people died and 32 were injured.

Hide Caption

8 of 18

Photos:Worst mass shootings in U.S.

Jiverly Wong shot and killed 13 people at the American Civic Association in Binghamton, New York, before turning the gun on himself in April 2009, police said. Four other people were injured at the immigration center shooting. Wong had been taking English classes at the center.

Hide Caption

9 of 18

Photos:Worst mass shootings in U.S.

Pallbearers carry a casket of one of Michael McLendon's 10 victims. McLendon shot and killed his mother in her Kingston, Alabama, home, before shooting his aunt, uncle, grandparents and five more people. He shot and killed himself in Samson, Alabama, in March 2009.

Hide Caption

10 of 18

Photos:Worst mass shootings in U.S.

Virginia Tech student Seung-Hui Cho went on a shooting spree on the school's campus in April 2007. Cho killed two people at the West Ambler Johnston dormitory and, after chaining the doors closed, killed another 30 at Norris Hall, home to the Engineering Science and Mechanics Department. He wounded an additional 17 people before killing himself.

Hide Caption

11 of 18

Photos:Worst mass shootings in U.S.

Mark Barton walked into two Atlanta trading firms and fired shots in July 1999, leaving nine dead and 13 wounded, police said. Hours later, police found Barton at a gas station in Acworth, Georgia, where he pulled a gun and killed himself. The day before, Barton had bludgeoned his wife and his two children in their Stockbridge, Georgia, apartment, police said.

Hide Caption

12 of 18

Photos:Worst mass shootings in U.S.

Eric Harris, left, and Dylan Klebold brought guns and bombs to Columbine High School in Littleton, Colorado, in April 1999. The students gunned down 13 and wounded 23 before killing themselves.

Hide Caption

13 of 18

Photos:Worst mass shootings in U.S.

In October 1991, George Hennard crashed his pickup through the plate-glass window of Luby's Cafeteria in Killeen, Texas, before shooting 23 people and committing suicide.

Hide Caption

14 of 18

Photos:Worst mass shootings in U.S.

James Huberty shot and killed 21 people, including children, at a McDonald's in San Ysidro, California, in July 1984. A police sharpshooter killed Huberty an hour after the rampage began.

Hide Caption

15 of 18

Photos:Worst mass shootings in U.S.

Prison guard George Banks is led through the Luzerne County courthouse in 1985. Banks killed 13 people, including five of his children, in Wilkes-Barre, Pennsylvania, in September 1982. He was sentenced to death in 1993 and received a stay of execution in 2004. His death sentence was overturned in 2010.

Hide Caption

16 of 18

Photos:Worst mass shootings in U.S.

Officers in Austin, Texas, carry victims across the University of Texas campus after Charles Joseph Whitman opened fire from the school's tower, killing 16 people and wounding 30 in 1966. Police officers shot and killed Whitman, who had killed his mother and wife earlier in the day.

Hide Caption

17 of 18

Photos:Worst mass shootings in U.S.

Howard Unruh, a World War II veteran, shot and killed 13 of his neighbors in Camden, New Jersey, in 1949. Unruh barricaded himself in his house after the shooting. Police overpowered him the next day. He was ruled criminally insane and committed to a state mental institution.

JUST WATCHED

Could UCSB shooting have been prevented?

MUST WATCH

JUST WATCHED

Rep: Don't be in denial of mental illness

MUST WATCH

Rep: Don't be in denial of mental illness 05:41

Next, we've got to connect the dots between mental health records and National Instant Background Check. In 2014, Mayors Against Illegal Guns released a report calling for states to close this gap. It found that 11 states and the District of Columbia have no reporting laws, and another 12 states have submitted fewer than 100 mental health records to the national background check system.

But connecting the dots won't help unless every gun sale is subject to an instant background check imposed on all licensed gun retailers.

And finally, the police need tools as well. They need training and the discretion to ask about and remove guns from any household where there is a domestic dispute, a call for a "well-being check," or a person who exhibits violent or unstable behavior. They also need a mental health professional on call for such checks.

Connecticut, Indiana and, yes, even Texas have firearms seizure statutes aimed at dangerous persons. Laws like these enable the police to temporarily remove guns from someone who is exhibiting dangerous behavior until a judge can make a final determination on fitness for gun ownership based on evidence presented at a hearing.

I know what you're thinking. "This will only penalize gun owners. Most gun owners are law-abiding citizens." You're right. And most gun owners believe in responsible ownership and agree that these mental health measures make sense

You may also be thinking: "But most people suffering from serious mental illness are nonviolent." You're right about that, too. Indeed, mentally ill people only account for a small fraction of the gun deaths in America every year and the vast majority of those are suicide, not homicide. Violence by the mentally ill is usually a symptom of the untreated mental illness -- that's why access to treatment, not gun control, is the answer.

Overhauling mental health laws would give family members and professionals more responsibility and authority in care decisions. And in some cases, medications and therapies should not be optional.

We've got a major problem on our hands. And since guns aren't going anywhere, the discussion about solutions needs to place the focus somewhere else.

Even the NRA agrees that the seriously mentally ill should never own a gun. So let's finally do something about it.