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 |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
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 |
|
|
ShawnZ
Veteran Member
Posts: 3146 Reputation: 43
32 / /
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 |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
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 |
|
|
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 |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
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 |
|
|
Spunky
Former Super Mod
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
|
RE: Inserting stuff to the history
quote: Originally posted by CookieRevised
ChatWnd:isplayInfoMessage (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"
|
|
03-10-2008 01:00 AM |
|
|
CookieRevised
Elite Member
Posts: 15517 Reputation: 173
– / /
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 ), 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 |
|
|
Voldemort
Veteran Member
Posts: 3504 Reputation: 49
– / – /
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!
|
|
03-10-2008 02:58 AM |
|
|
Dempsey
Scripting Contest Winner
http://AdamDempsey.net
Posts: 2395 Reputation: 53
38 / /
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.
|
|
03-10-2008 08:37 AM |
|
|
|