What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Idea for a script...

Idea for a script...
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. Idea for a script...
quote:
Originally posted by Matty
code:
function OnEvent_ChatWndCreated(pChatWnd){
    Messenger.MyPersonalMessage = ChatWnds.Count;
}

function OnEvent_ChatWndDestroyed(pChatWnd){
    Messenger.MyPersonalMessage = ChatWnds.Count;
}




I suppose that would be the easy way to do it, but it doesn't look very nice does it? Also, it's not customizable and doesn't really explain what the number means to other people...
______________________________________________________

I'm in the process of making a GUI to be able to edit options.

Going to add:
On/Off Option
Customized String - using %chat (and possibly %status)
Customze number of chats before "Busy" Message

Voldemort, you wanted to display the names of people you were talking to. I don't know if this is to be displayed to you or your other contacts so let me know and I'll add it. (Y)

Going to use Plus! Window Designer to make the interface just so I can see what it's like... I didn't mind entering numbers in and editing it pixel by pixel though 8-|


EDIT: I'm trying to setup some default values for the settings window and store them in the registry. Is there a way to make sure that this only happens the first time the script is run? If I was to just to call the function when the settings window is called, it would overwrite any settigns the user had saved. I've tried checking the value of the ReadRegistry function but it just causes an error and just doesn't trace.

EDIT 2: I've added the custom stuff. You can change how many chat windows have to be open in order for the status message (also custom) to change.  You can edit the string using the commands "%chats" and "%status". As of yet there is no way to turn it on or off or save settings. To access the settings window type "/ocsettings" (I am aware that this cause an error... I'm looking into it).  It's obviously not finished so theres errors (such as it saying "1 chats open")... There's nothing serious so try it and let me know. You cannot customize the "Available" text yet without actually editing the code.  If you do edit my code, bare in mind that I've been making it so that people can learn from the code, but I still haven't documented what each function does very well and the code is a bit of a mess... :P


This post was edited on 08-05-2006 at 09:25 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
08-05-2006 11:10 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Idea for a script... - by Spunky on 08-05-2006 at 01:54 AM
RE: Idea for a script... - by Huhu_Manix on 08-05-2006 at 02:05 AM
RE: Idea for a script... - by Voldemort on 08-05-2006 at 02:38 AM
RE: Idea for a script... - by cloudhunter on 08-05-2006 at 02:46 AM
RE: Idea for a script... - by matty on 08-05-2006 at 02:52 AM
Idea for a script... - by Spunky on 08-05-2006 at 11:10 AM
RE: Idea for a script... - by cloudhunter on 08-05-2006 at 03:21 AM
RE: Idea for a script... - by bugmenot on 08-05-2006 at 04:55 PM
RE: Idea for a script... - by Huhu_Manix on 08-05-2006 at 05:19 PM
RE: Idea for a script... - by Spunky on 08-05-2006 at 05:25 PM


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