Thanks for all this helpful advice.
I think what I am taking from it here is that I could set my next "goal" to be something unrelated to quitting cigarettes and alcohol and work towards that, while maintaining a nice recovery programme and taking the benefits that come with it.
I can think of several positive things I could do which would benefit me and other people so that's the best way to keep motivated.
It's great to have SR wisdom as support! So glad this time I had a go at identifying the risky situation before I faced it, rather than afterwards.