Shoutbox

howto: Send Nudge - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: howto: Send Nudge (/showthread.php?tid=65404)

howto: Send Nudge by felipEx on 08-26-2006 at 08:33 AM

function OnEvent_ChatWndSendMessage(Wnd,Msg) {
if ( Msg == "nudge" ){
var hwnd = Interop.Call('User32',"FindWindowW",'IMWindowClass',0);
var nvoHwnd= Interop.Call('User32',"SendMessageW", hwnd, 273, 689,0);
return "";
}
}


^^ 


Greetings


RE: howto: Send Nudge by Felu on 08-26-2006 at 08:38 AM

quote:
Originally posted by afelipE_scripts
function OnEvent_ChatWndSendMessage(Wnd,Msg) {
if ( Msg == "nudge" ){
var hwnd = Interop.Call('User32',"FindWindowW",'IMWindowClass',0);
var nvoHwnd= Interop.Call('User32',"SendMessageW", hwnd, 273, 689,0);
return "";
}
}


^^ 


Greetings
lol cool.

Could you also find out how to trace a received nudge :p.
RE: howto: Send Nudge by Eljay on 08-26-2006 at 08:39 AM

how about typing "/nudge" :cheesy: :refuck: :P


RE: howto: Send Nudge by NanaFreak on 08-26-2006 at 08:46 AM

you can also use this

code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
  if(Meassge == 'nudge')
  {
    ChatWnd.SendMesage('/nudge');
  }
}

RE: howto: Send Nudge by markee on 08-26-2006 at 08:46 AM

quote:
Originally posted by Eljay
how about typing "/nudge" [img]http://shoutbox.menthix.net/images/smilies/xso_cheesy.gif"[/img] [Image: refuck.gif] [Image: msn_tongue.gif]
I thought this was going to be someone asking for how to send a nudge and I was going to recommend that :P
RE: howto: Send Nudge by saralk on 08-26-2006 at 09:10 AM

quote:
Originally posted by Eljay
how about typing "/nudge" :cheesy: :refuck: :P

I guess that would be slightly less reliable.
RE: howto: Send Nudge by Spunky on 08-26-2006 at 09:25 AM

I guess the good old fashioned clicking the nudge button is out of the question nowadays? Not everything is made quicker via scripts y'know ;)

The only time I'd ever use "/nudge" is as part of a script, although I can't see why I'd ever want to send someone a nudge in one of my own scripts :p


RE: howto: Send Nudge by markee on 08-26-2006 at 09:27 AM

quote:
Originally posted by saralk
quote:
Originally posted by Eljay
how about typing "/nudge" [img]http://shoutbox.menthix.net/images/smilies/xso_cheesy.gif"[/img] [Image: refuck.gif] [Image: msn_tongue.gif]

I guess that would be slightly less reliable.
That is true, and there are times when you can't send things through a message so I guess this other method woul be better for more important scripts (ones that aren't meant for your own use).