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

init script in a folder
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: init script in a folder
What do you mean with uninitializing the second script?

Most of the times, there's no need to use MsgPlus.LoadScriptFile() for such simple tasks. You can make a function in the second script which starts everything it should do, and make another function which wipes out everything when it's done. Then, your first script controls when it should call those functions. It really doesn't matter if those functions are loaded on script start-up, as long as they aren't called yet.

I don't see why you'd have to start and stop the script that way, do you really have such complex things in the global scope of your second script which can't be started from a simple function? :S

(And no, you can't unload a loaded script file.)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
05-06-2008 04:08 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
init script in a folder - by Suxsem on 05-06-2008 at 01:51 PM
RE: init script in a folder - by mynetx on 05-06-2008 at 02:06 PM
RE: init script in a folder - by Suxsem on 05-06-2008 at 02:12 PM
RE: init script in a folder - by Suxsem on 05-06-2008 at 02:42 PM
RE: init script in a folder - by Matti on 05-06-2008 at 04:08 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