An Alameda County judge ordered right-wing activist Kyle Chapman, known as “Based Stickman,” back to jail Thursday and tripled his bail after finding that he had carried a deadly weapon in violation of his bail terms.

Chapman, 42, of Daly City, has a long criminal history with at least two felony convictions dating back to 1993.

His latest legal troubles began during a March 4 demonstration in Berkeley when Chapman — wearing a gas mask and helmet, and carrying a shield, pepper spray and a pair of knives — was arrested for hitting protesters with a lead-filled stick, police said.

He was charged with one felony count of possession of a “billy,” otherwise known as a blackjack.

Chapman was arraigned in August, and his bail set at $135,000 with the condition that he not “own, use, or possess” any dangerous weapons.

He made bail in September.

Then, on Nov. 3, Chapman posted a video on his Facebook account talking about a demonstration that was to happen the next day.

While it appears that the video has been taken down, Alameda County District Attorney Nancy O’Malley described what happened in the video in her motion supporting an increase in Chapman’s bail.

About 10 minutes into the video, O’Malley wrote, Chapman said: “Because of the conditions of my bail, I can’t even carry a knife. So I carry a kubotan.”

A kubotan is a pointy, pen-sized weapon that attaches to a key chain.

In the video, O’Malley wrote, Chapman held up a kubotan and said, “This is what I carry on my key chain, guys ... I will peel your scalp with this thing ... very, very effective weapon.”

Chapman was arrested Dec. 9 at San Francisco’s Fort Funston by National Park Service officers on suspicion of operating a motor vehicle off of designated roads and disorderly conduct — playing loud Christmas music, according to O’Malley’s motion.

The arresting officers found Chapman in possession of a kubotan, which appeared to be the same as the one in the video, O’Malley wrote.

Judge Yolanda Northridge set bail at $400,000 and took Chapman into custody.

Nanette Asimov is a San Francisco Chronicle staff writer. Email: nasimov@sfchronicle.com Twitter: @NanetteAsimov