Nudges, Updated. - 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: Nudges, Updated. (/showthread.php?tid=67789)
Nudges, Updated. by EBFL on 10-28-2006 at 06:51 PM
Part A)
Is there a script where you can send as many nudges as you want to someone?
Coz If You try to send a nudge after another it says 'You may not send a Nudge that often.'
Part B)
Is there a way that you can stop nudges being done when someone sends it?
Coz they can get very annoying.
Part C)
How do you get nudges in Auto Messages Or The Busy Blocker Script.
Part D)
What is the maximum amount of nudges i can do before it'll make me crash?
In Your Reply's please put which part you're answering. Thank you.
RE: Nudges by Felu on 10-28-2006 at 06:54 PM
Use APatch or Mess Patch to do both of them. If you want a script to do that i'll fetch the code for you .
RE: Nudges by EBFL on 10-28-2006 at 07:00 PM
Thank you.
Can you get code then?
*Englandboyforlife. Smiles
RE: Nudges by Felu on 10-28-2006 at 07:19 PM
For Patching WLM to allow unlimited nudges
CookieRevised's reply to Unlimited Nudges script
To send numerous nudge at once.
To use type "/nudge <no of nudges>" in a conversation without the quotes.
code: //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Created By BigBob85 <bigbob85@vizzed.com>
// Edited by Felu (http://www.feluowns.com)
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if (Message.substr(0, 6) == "/nudge"){
var Nudges = Message.substr(Message.search(' ')+1);
MsgPlus.DisplayToast("Nudge Me", Nudges);
for (var i = 0; i < Nudges; i++){
//Little hack to send unlimited nudges
var hwnd = Interop.Call('User32',"FindWindowW",'IMWindowClass',0);
var nvoHwnd= Interop.Call('User32',"SendMessageW", hwnd, 273, 689,0);
}
return''
}
}
function OnGetScriptCommands ()
{
commands = "<ScriptCommands>";
commands += "<Command>";
commands += "<Name>nudge</Name>";
commands += "<Description>nudge</Description>";
commands += "<Parameters>< No. of nudges !></Parameters>";
commands += "</Command>";
commands += "</ScriptCommands>";
return commands;
}
RE: Nudges by EBFL on 10-28-2006 at 07:41 PM
Ok..
But how do i use the script now?
RE: Nudges by Zahid™ on 10-28-2006 at 07:45 PM
Messenger Plus Preferences>Scripts>Create New..>And then copy and paste the code in the text box.
RE: Nudges by EBFL on 10-28-2006 at 07:47 PM
No
I mean
I have done it
But whats the command to use it?
RE: Nudges by Felu on 10-28-2006 at 07:48 PM
quote: Originally posted by -!Felu!-
To use type "/nudge <no of nudges>" in a conversation without the quotes.
RE: Nudges by EBFL on 10-28-2006 at 07:57 PM
ITS NOT WORKING
Please help
RE: Nudges by Zahid™ on 10-28-2006 at 07:59 PM
quote: Originally posted by EnglandBoyForLife.
ITS NOT WORKING
Please help
Did you create the script by going into Messenger Plus Preferences>Scripts>Create New..>And then copy and paste the code in the text box?
RE: Nudges by Joakin on 10-28-2006 at 08:02 PM
The second code Its work fine to me. I dont use the first code becouse i have already patch the wlm with Mess patch.
RE: Nudges by felipEx on 10-29-2006 at 01:18 AM
you're god
it work for others patches? ^^
i'll translate this to spanish
RE: Nudges by EBFL on 10-29-2006 at 02:32 PM
I have a problem,
Because if to many nudges are used in the convoit wont stop nudging
Is there any way to stop that?
RE: Nudges by Felu on 10-29-2006 at 02:36 PM
quote: Originally posted by EnglandBoyForLife.
I have a problem,
Because if to many nudges are used in the convoit wont stop nudging
Is there any way to stop that?
No you can't stop it. Give a lesser value instead. Don't cross 1000 it will freeze your Messenger and sometimes it may even crash.
RE: Nudges by EBFL on 10-29-2006 at 02:40 PM
So that means i can go up to 1000 without it crashing?
Which means i could do 999 and it will not crash?
RE: Nudges by Felu on 10-29-2006 at 03:00 PM
quote: Originally posted by EnglandBoyForLife.
So that means i can go up to 1000 without it crashing?
Depends on your RAM and Free Memory available. I don't recommend nudge flooding if the other contact doesn't have nudge shake disabled . His/Her Messenger would crash that way.
RE: Nudges by Spunky on 10-29-2006 at 03:07 PM
quote: Originally posted by -!Felu!-
I don't recommend nudge flooding if the other contact doesn't have nudge shake disabled . His/Her Messenger would crash that way.
IMO, thats the only reason people use spammers
RE: Nudges, Updated. by Plan-1130 on 10-29-2006 at 07:52 PM
quote: Originally posted by -!Felu!-
quote: Originally posted by EnglandBoyForLife
I have a problem,
Because if to many nudges are used in the convoit wont stop nudging
Is there any way to stop that?
No you can't stop it. Give a lesser value instead. Don't cross 1000 it will freeze your Messenger and sometimes it may even crash.
I think you just got the solution there, make wlm crash and the nudging is over
RE: Nudges, Updated. by Felu on 10-30-2006 at 03:19 AM
quote: Originally posted by Plan-1130
quote: Originally posted by -!Felu!-
quote: Originally posted by EnglandBoyForLife
I have a problem,
Because if to many nudges are used in the convoit wont stop nudging
Is there any way to stop that?
No you can't stop it. Give a lesser value instead. Don't cross 1000 it will freeze your Messenger and sometimes it may even crash.
I think you just got the solution there, make wlm crash and the nudging is over
Thats what i do. Just end msnmsgr.exe's process when someone nudge floods you.
RE: Nudges, Updated. by EBFL on 10-30-2006 at 11:49 AM
I've now used that code.
But,
If i do:
/nudge 10
They only notice one?
Is there a way to stop that and make them notice all 10
RE: RE: Nudges, Updated. by Baggins on 10-31-2006 at 01:35 AM
quote: Originally posted by EnglandBoyForLife.
I've now used that code.
But,
If i do:
/nudge 10
They only notice one?
Is there a way to stop that and make them notice all 10
it will happen more than once but it will look like one long nudge, if you did say
/nudge 100
it would probably crash their msn
the easiest way to make a pause between them is just manually click the nudge button
RE: Nudges, Updated Again! by Spunky on 10-31-2006 at 11:29 AM
quote: Originally posted by Baggins
the easiest way to make a pause between them is just manually click the nudge button
or use a sleep command... I think it has to be called from a dll though =/
RE: Nudges, Updated Again! by Plan-1130 on 10-31-2006 at 12:52 PM
or use a timer, but then again this might cause problems because you need global variables...
RE: Nudges, Updated Again! by Plan-1130 on 11-01-2006 at 06:44 PM
Timers in MsgPlus are delayed execution of pieces of code, they have to be programmedin the Script, see Scripting Documentation
RE: Nudges, Updated. by EBFL on 11-09-2006 at 09:22 PM
quote: Originally posted by Plan-1130
Timers in MsgPlus are delayed execution of pieces of code, they have to be programmedin the Script, see Scripting Documentation
Thanks, I'll look at that.
RE: Nudges, Updated. by Plan-1130 on 11-10-2006 at 01:59 PM
quote: Originally posted by EnglandBoyForLife.
Thanks
Well I just explained what it was, assuming you meant you didn't know which timer to use: i thought you realized you had to make a new one if you knew what timers were
The suggestion was made to use a sleep command which has to be called through a dll, so i thought I'd tell you all the good news that MsgPlus has timers too...
RE: Nudges, Updated. by EBFL on 11-10-2006 at 04:02 PM
quote: Originally posted by Plan-1130
quote: Originally posted by EnglandBoyForLife.
Thanks
Well I just explained what it was, assuming you meant you didn't know which timer to use: i thought you realized you had to make a new one if you knew what timers were
The suggestion was made to use a sleep command which has to be called through a dll, so i thought I'd tell you all the good news that MsgPlus has timers too...
Cheers for all the help
RE: Nudges, Updated. by orlandopunk on 11-11-2006 at 09:38 PM
i cant get it to work i created the script just like you said but i dont know where to paste it here is a pic of the screen i get when i open the wndow to pste the code
now where the hell do i paste the code, do i delete those numbers and letters that are there wat do i do , can you be more specific and say what to do exactly, first i deleted that and pasted the code , when i put thing to send the nudges it appears a little window like the one when you sign in an says the numbers of nudges but it only send one
help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
RE: Nudges, Updated. by bigbob85 on 11-11-2006 at 09:44 PM
First of all, you have to just paste the code, into that window you have, and paste it over the other two functions (or just delete them, then paste it).
Here is v1.3 of that script, don't think it's changed all that much, except its a .plsc so it will install.
RE: Nudges, Updated. by orlandopunk on 11-11-2006 at 09:53 PM
umm another problem ok i isnyalled it, but now when i put
/nudge <no of nudges>
for example
/nudge <10>
i get this
<10> isnt a number
RE: Nudges, Updated. by CookieRevised on 11-12-2006 at 01:18 AM
[OFF TOPIC]
quote: Originally posted by SpunkyLoveMuff
or use a sleep command... I think it has to be called from a dll though =/
The Sleep API wont do anything good. Your messenger will still be froozen. And it will stay froozen even longer than if you didn't used the Sleep API.
The Sleep API does not give resources back to the process it started. The Sleep API just feezes the process; in other words you will not be able to do anything at all..
quote: Originally posted by Plan-1130
or use a timer, but then again this might cause problems because you need global variables...
It wont give any problems if you program it correctly.
[OFF TOPIC]
quote: Originally posted by orlandopunk
umm another problem ok i isnyalled it, but now when i put
/nudge <no of nudges>
for example
/nudge <10>
i get this
<10> isnt a number
"<10>" is indeed not a number, but "10" is... you don't need to enter the less than and greater than signs. Those signs are only used to indicate a description of a parameter.
RE: Nudges, Updated. by Plan-1130 on 11-13-2006 at 09:18 AM
[offtopic]
Technically that 10 isn't a number either, it's a (sub)string.
In the beginning I had some problems with that as that 10 was NaN (Not a Number).
Comparing the string 10 with the number 10 will result in NaN...
Still I don't know how I got many of my scripts working, as VB provides a function to parse an integer from a string, but I couldn't find any in the MSDN... (not in function, not in methods of object String).
[/offtopic]
RE: Nudges, Updated. by markee on 11-13-2006 at 09:57 AM
quote: Originally posted by Plan-1130
[offtopic]
Technically that 10 isn't a number either, it's a (sub)string.
In the beginning I had some problems with that as that 10 was NaN (Not a Number).
Comparing the string 10 with the number 10 will result in NaN...
Still I don't know how I got many of my scripts working, as VB provides a function to parse an integer from a string, but I couldn't find any in the MSDN... (not in function, not in methods of object String).
[/offtopic]
For me I just do th following and it works (though I'm probably going about it the wrong way)
code: [...]
var String = "10";
var Number = new Number(String);
[...]
I couldn't think of any other way of making it a number. I hope this helps (assuming what I did is correct).
RE: Nudges, Updated. by Eljay on 11-13-2006 at 11:11 AM
Just do varName * 1 to convert it, maybe slightly dodgy but short and simple
RE: Nudges, Updated. by CookieRevised on 11-21-2006 at 12:12 AM
[OFF TOPIC]
quote: Originally posted by Plan-1130
Comparing the string 10 with the number 10 will result in NaN...
No...
Comparing it using the Equality Operators (== or !=) or Relational Operators will result in a match.
Comparing it with the Identity Operator (=== or !==) will result in a non-match (thus not an NaN-error). You will only get the NaN-error in specific calculations.
PS: It is preferred to use the Identity Operator (===) as this notifies you of possible type casting problems. It is also faster because JScript doesn't need to convert all variables to the same type, which it otherwise will always do.
See JScript 5.6 Documentation.quote: The following describes how the different groups of operators behave depending on the types and values of expression1 and expression2:
Relational (<, >, <=, >=)
* Attempt to convert both expression1 and expression2 into numbers.
* If both expressions are strings, do a lexicographical string comparison.
* If either expression is NaN, return false.
* Negative zero equals Positive zero.
* Negative Infinity is less than everything including itself.
* Positive Infinity is greater than everything including itself.
Equality (==, !=)
* If the types of the two expressions are different, attempt to convert them to string, number, or Boolean.
* NaN is not equal to anything including itself.
* Negative zero equals positive zero.
* null equals both null and undefined.
* Values are considered equal if they are identical strings, numerically equivalent numbers, the same object, identical Boolean values, or (if different types) they can be coerced into one of these situations.
* Every other comparison is considered unequal.
Identity (===, !==)
These operators behave identically to the equality operators except no type conversion is done, and the types must be the same to be considered equal.
quote: Originally posted by Plan-1130
Still I don't know how I got many of my scripts working, as VB provides a function to parse an integer from a string
JScript too: parseInt(numString, [radix]).
eg: var numTen = parseInt("10");
Also see "CookieRevised's reply to [I help them] VB2JS" for some different uses of that method.
And parseFloat(numString) is the equivalent of the Val() function used on a string in VB.
But also note that in many cases you don't need to use it at all especially because of JScript's automatical type conversion.
If you have a string (eg: "10") and you multiply this with the number 5, JScript will automatically convert the string "10" to number 10, you will not get an error!.
Compare this behaviour with Variants in Visual Basic.
That is why this method works (but also why you almost never need to do this either):
quote: Originally posted by Eljay
Just do varName * 1 to convert it, maybe slightly dodgy but short and simple
quote: Originally posted by markee
For me I just do th following and it works (though I'm probably going about it the wrong way)code: var String = "10";
var Number = new Number(String);
I couldn't think of any other way of making it a number. I hope this helps (assuming what I did is correct).
It is a correct way, but a long and often useless way... See comments above.
note there is a slight difference between this variable 'var Number' and the variable 'var numTen' from above. 'var Number' is declared as an number _object_, while var numTen is a variable containing a number.
The Number object is rarely necessary and the only usefull purpose is to collect its properties into one object (eg: so you can make your own properties for a number object using protoype) and to allow numbers to be converted into strings via the toString method.
[/OFF TOPIC]
|