Counter by the messages - 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: Counter by the messages (/showthread.php?tid=61539) Counter by the messages by ThunderStorm on 06-26-2006 at 09:46 AM
I want a counter by the messages. RE: Counter by the messages by Ezra on 06-26-2006 at 10:26 AM
Kinda useless, but I did it anyway code: RE: Counter by the messages by ThunderStorm on 06-26-2006 at 11:12 AM But how get I the counter after my messages? RE: Counter by the messages by Ezra on 06-26-2006 at 11:16 AM
Edit this part: RE: Counter by the messages by ThunderStorm on 06-26-2006 at 11:46 AM
does the script save the counter in the registery? RE: Counter by the messages by Ezra on 06-26-2006 at 11:49 AM Yes, it saves it in the registry and only resets when you restart the script by disabling and enabling it by the plus! scripts preferences. RE: Counter by the messages by ThunderStorm on 06-26-2006 at 12:05 PM
But where is it saved in the registry? RE: Counter by the messages by mathieumg on 06-26-2006 at 12:13 PM the key "MessagesSend" in HKCU\Software\Patchou\Messenger Plus! Live then a subkey where your scripts keys are stored (I'm not sure which one) RE: Counter by the messages by Ezra on 06-26-2006 at 12:32 PM
HKEY_CURRENT_USER\Software\Patchou\Messenger Plus! Live\GlobalSettings\Scripts\%script_name%\Settings\MessagesSend RE: Counter by the messages by qgroessl on 06-26-2006 at 01:41 PM This script is safe right?... Norton says it's Malicious... I'm thinking only cause it writes in the registry? RE: RE: Counter by the messages by mathieumg on 06-26-2006 at 01:51 PM
quote: Yeah, back when I had Norton I remember it disliked when writing in the registry using the Scriptshell object. RE: Counter by the messages by qgroessl on 06-26-2006 at 01:53 PM
Okay... thanks... cause I didn't really feel like taking the chance... Even though it was from a trusted source and all, better be safe then sorry is always smart. RE: Counter by the messages by Ezra on 06-26-2006 at 02:11 PM
quote: It has no support for multiple users, but it's easily added by making a subkey for every user, but don't feel like adding it right now. Busy with work and some other scripts RE: Counter by the messages by qgroessl on 06-26-2006 at 04:35 PM
code: 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. RE: Counter by the messages by Voldemort on 06-26-2006 at 04:48 PM The /me command does not work with Ezra's code RE: Counter by the messages by qgroessl on 06-26-2006 at 05:47 PM
Okay... since so many people post in so many threads this is almost on page 3... but yeah... What's wrong with the code that I posted (2 posts up).... try out yourself and see if it's jsut me, but it screws up the message I try and send.... RE: Counter by the messages by Thargor on 06-26-2006 at 06:09 PM hehe, lol. Nice script. But useless indeed, like said before RE: Counter by the messages by qgroessl on 06-26-2006 at 07:52 PM
quote: Some people do find thing others don't useful... RE: Counter by the messages by Thargor on 06-27-2006 at 10:13 AM Wasn't meant offending. Just, now well, why you need it? I mean, I don't need to know how much messages I sent already. RE: Counter by the messages by The_Joker on 06-27-2006 at 01:02 PM
Is it just me or the ReadRegistry function doesn't work? RE: RE: Counter by the messages by CookieRevised on 06-27-2006 at 01:57 PM
quote:Ezra's code didn't work either because it contains wrong code: code: To know the detailed description and why it is wrong see CookieRevised's reply to Registry Editing in scripts. quote:in short: no... and also, don't forget, everything you manipulate on those message will be recieved and seen by your contacts also!!!! RE: Counter by the messages by qgroessl on 06-27-2006 at 03:30 PM
quote:Figured that one out already lol... but thanks Cookie. RE: Counter by the messages by Thargor on 06-27-2006 at 06:26 PM hehe rofl, but sill handy to know RE: Counter by the messages by Ezra on 06-27-2006 at 06:35 PM
quote: Maybe it isn't the best code ever made, 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: RE: Counter by the messages by John Anderton on 06-27-2006 at 06:37 PM
quote:Norton says so for all scripts i believe (you are using NAV 02-04 right?) |