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

Pages: (3): « First [ 1 ] 2 3 » Last »
Pack the script
Author: Message:
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. Pack the script
Hi.
I'm from Denmark and my english isn't good.

I have made my own Messenger Plus! Live script and wants to make it to a .plsc file (So the users can import the script), but how do i make my script to a .plsc file?

- Simon
08-19-2006 05:48 PM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: Pack the script
Make sure you have a scriptinfo.xml file then zip the contents of the folder(not the folder itself) and rename .zip to .plsc
08-19-2006 05:57 PM
Profile E-Mail PM Web Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Pack the script
Hi.
That doesn't work.

I can't find any programs to "plsc the script" :-$

Silentdragon ->
Hi.
I haven't got winzip, but winrar, can i use winrar?

In the folder der isn't any file called "scriptinfo.xml", actually there isn't any .xml file.
What shell the scriptinfo contain?

This post was edited on 08-20-2006 at 08:31 AM by WDZ.
08-19-2006 05:58 PM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: Pack the script
Yes you can use winrar, just make sure you move the radio button to zip file isntead of rar file.

Example ScriptInfo.xml
code:
<ScriptInfo>   
    <Information>
        <Name>Answering Machine Plus</Name>
        <Description>Autoreplies to user specified messages.</Description>
        <AboutUrl>http://shoutbox.menthix.net/showthread.php?tid=64534</AboutUrl>
    </Information>
</ScriptInfo>

This post was edited on 08-19-2006 at 06:05 PM by Silentdragon.
08-19-2006 06:03 PM
Profile E-Mail PM Web Find Quote Report
haydos
Veteran Member
*****

dirty dirty house music

Posts: 1026
Reputation: 49
– / Male / Flag
Joined: Dec 2004
RE: Pack the script
quote:
Originally posted by SnuZZer
In the folder der isn't any file called "scriptinfo.xml", actually there isn't any .xml file.
That's because you have to create this file yourself. This is the xml interface page for the little popup when the script is imported. You have to put this in the .zip file with your .js and any other files before changing the file type
quote:
Originally posted by WDZ
don't be lazy
[Image: gayspam.gif]

08-19-2006 06:03 PM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Pack the script
Yo
quote:
Originally posted by SnuZZer
Hi.
That doesn't work.

I can't find any programs to "plsc the script" :-$
You can use Script Packager
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
08-19-2006 06:18 PM
Profile E-Mail PM Web Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Pack the script
Hi.
I can't get it work.
When i have maked the plsc file and try to open the fil it says that it isn't a valid Messenger Plus! Live file :-(
08-19-2006 07:02 PM
Profile E-Mail PM Web Find Quote Report
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: Pack the script
Make sure the xml is unicode. If it still doesn't work post it up here and I'll check whats wrong.
08-19-2006 07:09 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Pack the script
SnuZZer,

ermmm.. please read the scripting documentation regarding script packs carefully.

Everything said in this thread is only a small part of what you must do and is majorly confusing if you're not that computer literate (not to mention certain things said in this thread are not totally correct).

Either do that or use a script pack tool like Demsey linked to.


A scriptpack includes:
* the JS files, these can be saved in Unicode (little endian) or ANSI.
* an mandatory scriptinfo.xml file. This file must be, in general, saved as Unicode (little endian) (Although you can save it as Ansi too, but in that case you need to define this in the XML header). Don't forget to include an xml header. The proper contents of the file can be found in the scripting documentation. The file is something you need to create manually.
* other files. for more on these, read the scripting documentation.

Everything must be saved under the root in the scriptpack, thus not in a subdirectory.

A scriptpack is actually a normal ZIP file, but with its extension renamed to plsc.

All this and in more detail can be read in the scripting documentation. Read it very very carefully.





-----------------------------------------------------------------------------------------

@others: try to explain stuff 100% correctly. Very good that you try to help, but almost all posts in this thread so far are not much of a help at all and will in fact make it even more confusing since they don't mention the details and not all facts are given. sorry....

quote:
Originally posted by gjs1992
Put it in a Zip File and link it in MS Front Page or something to iits current location on the PC and right click then save target as and put at the end of the filename .plsc
Majorly confusing. And what has FrontPage todo with all this?
quote:
Originally posted by Silentdragon
Make sure you have a scriptinfo.xml file
You forget to mention that the file must be saved in either unicode or ansi depending on what its contents are (xml encoding).
quote:
Originally posted by Silentdragon
Example ScriptInfo.xml
code:
<ScriptInfo>   
    <Information>
        <Name>Answering Machine Plus</Name>
        <Description>Autoreplies to user specified messages.</Description>
        <AboutUrl>http://shoutbox.menthix.net/showthread.php?tid=64534</AboutUrl>
    </Information>
</ScriptInfo>

You forget the important xml header.
quote:
Originally posted by Silentdragon
Make sure the xml is unicode.
That in general is true, but only when you don't have a xml header (which is actually good practice to include it) or if the header says it is UTF-16 encoded. If the header says it is UTF-8 encoded then it should be ansi.

This post was edited on 08-20-2006 at 07:14 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-19-2006 08:16 PM
Profile PM Find Quote Report
SnuZZer
Full Member
***

Avatar

Posts: 114
32 / Male / Flag
Joined: Jun 2006
O.P. RE: Pack the script
CookieRevised ->
Hi.
I have read the documentation and i have tried to make my JS-file (Leet beskeder.js) and ScriptInfo.xml to a .rar file and change .rar til to .plsc, but when i try to open the .plsc file i got the message:
"The file you tried to read isn't a valid Messenger Plus! script-pack"
08-19-2006 09:38 PM
Profile E-Mail PM Web Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« 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