Ok while using this i came across another problem. If i am in a channel it gets annoying if someone is talking to me and using my username. I see double. Any ideas on how to change the ($chan !=#channel) to make it so that if specific username is in the channel dont say it.