hmm.. Abuse on the On Text events, they should be put into one.
But with just looking through it, I found an error (sort of)
on *:TEXT:your gay:#:{ msg $chan $nick your mama is }
Could be
on *:TEXT:*your gay*:#:{ msg $chan $nick your mama is }
So it would check for it anywhere in the sentence, but what you have would work fine only if the person says "your gay" and thats it.
All of these can be spammed as well, quite easily. Spam filters should be put on them so it would be harder to flood you off the network.