What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Offline Script Testing

Offline Script Testing
Author: Message:
chicco
New Member
*


Posts: 3
41 / Male / –
Joined: Jul 2006
O.P. Offline Script Testing
hello,
i have a little question: is there a way to test scripts while the messenger and the pc are offline?

Thanks
07-22-2006 12:20 PM
Profile PM Find Quote Report
andrewdodd13
Senior Member
****

Avatar
Oh so retro

Posts: 870
Reputation: 16
34 / Male / Flag
Joined: Jan 2005
RE: Offline Script Testing
Due to the way events are called and such, I don't think this would be quite possible.

The original Microsoft JScript parser would fail because the Messenger Plus! library would not be available if you ran the script outside MP!L.

It's maybe a feature that could be added to MP!L or if anyone wants to make a full-fledged development environment :).
[Image: AndrewsStyle.png]
07-22-2006 12:46 PM
Profile E-Mail PM Web Find Quote Report
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
RE: Offline Script Testing
quote:
Originally posted by andrewdodd13
It's maybe a feature that could be added to MP!L or if anyone wants to make a full-fledged development environment (Smilie).
i dont think so. I highly doubt it. Imo to recreate the actual triggers, you do need to actually be online :)
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
07-22-2006 12:59 PM
Profile E-Mail PM Web Find Quote Report
andrewdodd13
Senior Member
****

Avatar
Oh so retro

Posts: 870
Reputation: 16
34 / Male / Flag
Joined: Jan 2005
RE: Offline Script Testing
What I meant was a sort of dummy-event.

For example, it could parse the code, and you could tell the system to call that function with dummy arguments...

Code:
code:
function MessengerFunction(arg1,arg2)
Debug.Trace ("This function was called with " + arg1 + " " +arg2);
end

Then from the new area (I'll call it the debugger window) you could type
MessengerFunction("hi","noobs");
and it would call those functions as if that's what was actually happening.

As I said, it might be too much to include in the messenger plus! live client, but a dev-environment would be nice :P (or even a plug in to the MS VS IDE... * goes and researches).
[Image: AndrewsStyle.png]
07-22-2006 01:24 PM
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