Eljay
Elite Member
:O
Posts: 2949 Reputation: 77
– / / –
Joined: May 2004
|
RE: [beta] Several Scripts Inside
quote: Originally posted by Plik
quote: Originally posted by bigbob85
Ahhh. I never knew that.
What about if you sit in a chat box, with /nudge copied, and you keep pasting it, you can have endless then right?
Or you could send the window the correct windows message to make it think the nudge button has been pressed. (Use a message spy like spy++ to work out the message )
Example:
code: var WM_COMMAND = 0x0111;
function SendNudge(ChatWnd){
Interop.Call('User32', 'SendMessageW', ChatWnd.Handle, WM_COMMAND, (689 | (0 << 8)), 0);
}
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if(Message == '!nudge') SendNudge(ChatWnd);
}
|
|