code:
var i=0;
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if (Message == "irritant Hè!" && i<15){
ChatWnd.SendMessage(Message);
i++;
}
}else{
i=0;
return "";
}
}
Just an adaption of Plan-1130's code except a simpler version imo (I didn't test it but I don't think his code works). The only real problem with my code is that if you send this to another person before the 15 messages are sent then there are some problems (though this should only occur if you use an /all command with your message).