HAMILTON, N.J. (AP) -- A nonprofit aimed at helping people who struggle with compulsive gambling is unveiling a new way to deal with the addiction.

Bruno Vincent, Getty Images

The Council on Compulsive Gambling announced Tuesday it is launching a program that allows people to send a text message to get help or ask questions 24 hours a day.

Gamblers or their friends can text "800GAMBLER" to 53342, and someone from the organization will reply soon after.

The nonprofit's program comes about a year after New Jersey authorized online gambling at some casinos in the state.

News of the program was first reported by NJ.com.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)