The only things that can cause a false positive are things that have hCG in them. To my understanding, ecstasy does not. I do hope however you are NOT pregnant, given the drugs you've had in your body.
Yes it can. I would want least a couples days later and take another pregnancy test because you can still be pregnant.