What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Counter by the messages

Pages: (3): « First « 1 2 [ 3 ] Last »
Counter by the messages
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Counter by the messages
quote:
Originally posted by UTI
What's wrong with this code?... it's the same as Ezra's code exact, except for receiving messages... It'll count the recieving messages but then when I send messages, it is messed up
Ezra's code didn't work either because it contains wrong code:

code:
function ReadRegistry(key)
{
    var Shell = new ActiveXObject("WScript.Shell");
    return value = Shell.RegRead(MsgPlus.ScriptRegPath + key);
}

To know the detailed description and why it is wrong see
CookieRevised's reply to Registry Editing in scripts.

quote:
Originally posted by UTI
but is there a way to only display the count in my Msgplus! Chat logs?
in short: no... and also, don't forget, everything you manipulate on those message will be recieved and seen by your contacts also!!!!

This post was edited on 06-27-2006 at 02:07 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-27-2006 01:57 PM
Profile PM Find Quote Report
qgroessl
Veteran Member
*****


Posts: 1615
Reputation: 22
33 / – / Flag
Joined: Jul 2005
Status: Away
RE: Counter by the messages
quote:
Originally posted by CookieRevised
in short: no... and also, don't forget, everything you manipulate on those message will be recieved and seen by your contacts also!!!!
:p Figured that one out already lol... but thanks Cookie.
06-27-2006 03:30 PM
Profile PM Find Quote Report
Thargor
New Member
*

Avatar
Dark Phoenix

Posts: 3
34 / Male / –
Joined: Jun 2006
RE: Counter by the messages
hehe :P rofl, but sill handy to know :P
[Image: Thargor.png]

I can change one note and make you cry.
06-27-2006 06:26 PM
Profile E-Mail PM Web Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: Counter by the messages
quote:
Originally posted by CookieRevised
quote:
Originally posted by UTI

    What's wrong with this code?... it's the same as Ezra's code exact, except for receiving messages... It'll count the recieving messages but then when I send messages, it is messed up

Ezra's code didn't work either because it contains wrong code:

   
code:
function ReadRegistry(key)
    {
        var Shell = new ActiveXObject("WScript.Shell");
        return value = Shell.RegRead(MsgPlus.ScriptRegPath + key);
    }


Maybe it isn't the best code ever made:P, but it still works...

It simply first puts the outcome of the registry read in that value and then returns the value, this way you can also add more things that use that variable in that function.

BTW: If you want there is another usefull function I use, this one to delete keys from the registry

code:
function RemoveRegistry(key)
{
  var Shell = new ActiveXObject("WScript.Shell");
  Shell.RegDelete(MsgPlus.ScriptRegPath + key);
}

This post was edited on 06-27-2006 at 06:39 PM by Ezra.
[Image: 1-0.png]
             
06-27-2006 06:35 PM
Profile PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Counter by the messages
quote:
Originally posted by UTI
This script is safe right?... Norton says it's Malicious... I'm thinking only cause it writes in the registry?
Norton says so for all scripts i believe (you are using NAV 02-04 right?)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
06-27-2006 06:37 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First « 1 2 [ 3 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On