Can you show me how to simply remove a join/part message from a specific user?

Also, I see you have a "haltdef" statement. How does this interact with any other "if" statements I have after your code?