all right.. I got it. the ports I opened were opened at the wrong place, or something, and it's working now. the possible endless loop was actually not in mp_sendchatmessage, it just told me so because the function was IN an endless loop...
sorry guys, Micha
~"I never let school interfere with my education"~ -Mark Twain