Could have been mdma for all you know, you can't descibe what it looked like if it was dry/wet/granule size/colour/taste or was it a liquid etc....
Something badly acetone washed also at a guess which can cause stinging maybe a RC.
Edit: If you laugh that it wasn't mdma, I do remember people posting here about badly synthesized mdma years ago when the mdma drought was about 2012-2014 iirc
Edit2: or it could be a drug which is mimicking mdma which has been acetone washed like pma, pmma
My mate was at T in the park and said 2 died off Rolex's and I remember there being a warning about green ones at festivals a few years ago and I said I get they're the same ones that have just been stashed away while there was all the bad press circulating about them and then dug out a couple...
www.bluelight.org
read that thread, the posts before and after that one, about the pma containg pills, which could have been crushed up and acetone washed, known to make you sweat like a pig.
The pma, pmaa pills were about 2010 already. Pma is apparently water soluble at a certain temperature...
When was years ago?
If it was a liquid, then pcp maybe but it wouldn't explain the sweating afaik maybe badly synthesized lsd analogue.
Lsd makes that your body can't regulate its temperature.