A previous pilot trial evaluating computer-based training for cognitive-behavioral therapy ( CBT@CBT ) in @ heterogeneous substance users ( alcohol , marijuana , cocaine , and opioids ) demonstrated preliminary support for its efficacy in the context of a community-based outpatient clinic .