quote:
Originally posted by skyserpent
thanks for that alexp!
just one more thing how could i intregrate that sending code into this script?
code:
var Wnd = null;
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
if(Message == 'BOMB!') {
Wnd = ChatWnd;
MsgPlus.AddTimer("Bomb",500);
return "";
}
if(Message == 'STOP!') {
Wnd = null;
MsgPlus.CancelTimer("Bomb");
return "";
}
}
function OnEvent_Timer(tId) {
if(Wnd != null) {
Wnd.SendMessage("Lemons");
MsgPlus.AddTimer("Bomb",500);
}
}
thanks for any help
The code posted won't help get round the flood protection, it still uses SendMessage, and doesn't simulate pressing the enter key, so it won't help you perform evil acts of spam.