What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Inserting stuff to the history

Inserting stuff to the history
Author: Message:
pinhead
New Member
*


Posts: 4
Joined: Mar 2008
O.P. Inserting stuff to the history
Hi everyone.

Is it possible to insert data to the history of a chat window? I'm trying to write a script, which displays all status changes of my chat partners (only those with an open chat window of course). Any suggestions?

Example (Lines marked with an asterix are the interesting ones I want to create with my script):

pinhead says (15:29):
hi
chat_partner1 says (15:30):
hi.. sorry, afk
* chat_partner1 changed status to "away" (15:30)
* chat_partner1 changed status to "online" (15:30)
chat_partner1 says (15:30):
back
03-08-2008 03:33 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Inserting stuff to the history
You don't need a script for that. Plus! can already log things like status changes:

Plus! > Preferences > Conversations > Chat Logging > Save Options > Record contact's activities (ex: status changes)
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-09-2008 02:30 AM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: Inserting stuff to the history
although, this still might be a cool idea for other things. a WriteToLog function for contacts could be useful.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
03-09-2008 03:05 AM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Inserting stuff to the history
quote:
Originally posted by ShawnZ
although, this still might be a cool idea for other things. a WriteToLog function for contacts could be useful.
indeed and agreed. And something which has been requested before (since a long time I believe)
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-09-2008 03:44 AM
Profile PM Find Quote Report
pinhead
New Member
*


Posts: 4
Joined: Mar 2008
O.P. RE: RE: Inserting stuff to the history
quote:
Originally posted by CookieRevised
You don't need a script for that. Plus! can already log things like status changes:

Plus! > Preferences > Conversations > Chat Logging > Save Options > Record contact's activities (ex: status changes)

Actually, that's not what I'm looking for. I want to see the status changes directly in my chat windows.

Ok, it seems not to be possible the way I wanted it to, but does anyone have another cool idea how to solve this problem?
03-09-2008 04:11 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Inserting stuff to the history
Adding text to the chat window (without the contact seeing it) is not possible with Plus! yet. But regulary requested too....

Maybe as an alternative you can use the function ChatWnd::DisplayInfoMessage (see scripting docs) to display some one-line-text in the information area (the status bar where "user is typing" is shown too)....

This post was edited on 03-10-2008 at 12:31 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-10-2008 12:30 AM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Inserting stuff to the history
quote:
Originally posted by CookieRevised
ChatWnd::DisplayInfoMessage (see scripting docs)

[offtopic]
Can we get alerts when the docs get updated? I'm always missing loads of new functions
[/offtopic]

Would still be good to be able to insert text into the chat logs
<Eljay> "Problems encountered: shit blew up" :zippy:
03-10-2008 01:00 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Inserting stuff to the history
[offtopic]

quote:
Originally posted by SpunkyLoveMuff
quote:
Originally posted by CookieRevised
ChatWnd::DisplayInfoMessage (see scripting docs)
Can we get alerts when the docs get updated? I'm always missing loads of new functions
New functions can only be added with new verisons of Plus!... So, whenever there is a new Plus! version, (re)download the scripting docs to have the latest ones... And normally, new functions and stuff should be listed in Plus!'s changelogs.

To know if something has been added (and you don't want to read 5 pages of bug fixes in the changelogs :p), you could check the date at the bottom of the introduction page in the scripting docs.

[/offtopic]

This post was edited on 03-10-2008 at 01:35 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-10-2008 01:34 AM
Profile PM Find Quote Report
Voldemort
Veteran Member
*****

Avatar

Posts: 3504
Reputation: 49
– / – / Flag
Joined: Jul 2005
Status: Away
RE: Inserting stuff to the history
quote:
Originally posted by CookieRevised
quote:
Originally posted by ShawnZ
although, this still might be a cool idea for other things. a WriteToLog function for contacts could be useful.
indeed and agreed. And something which has been requested before (since a long time I believe)
i think it was me
*All posts are a purely speculative hypothesis based on abstract reasoning.
Not my daughter, you bitch!
[Image: ico-mollytrix16.gif]
03-10-2008 02:58 AM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Inserting stuff to the history
quote:
Originally posted by SpunkyLoveMuff
[offtopic]
Can we get alerts when the docs get updated? I'm always missing loads of new functions
[/offtopic]
Or you can check the docs on mpscripts as I keep that updated.   
The first page has the date of the last update.
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
03-10-2008 08:37 AM
Profile E-Mail PM Web Find Quote Report
« 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