What you say, think, or do and how people perceive what you say, think, or do might not necessarily be the same thing.
I said that because I wonder why they poured all of that pepper on you. Mase is made from habeniero peppers. This voice of experience can assure you that you DO NOT want even a molecule of a habeniero on your eyeball.
Most practical jokers will not bother you unless you either A) are well liked by them, or B) pissed them off very badly.
If you fall under ''A'', then they may have made a mistake and inadvertently crossed the line. It might be prudent for you to explain a few things to them. If they like you, they should listen.
If you fall under ''B'', then they are most likely retaliating because YOU have crossed the line. And it might be prudent for them to explain a few things to you. If you like them, you should listen.
Good luck