What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How Do I Make A Valid Script??

Pages: (2): « First [ 1 ] 2 » Last »
How Do I Make A Valid Script??
Author: Message:
mitz
New Member
*


Posts: 9
– / Male / –
Joined: Aug 2006
O.P. Huh?  How Do I Make A Valid Script??
hiya please can someone tell me how to make a valid Messenger Plus! Script Pack ... i have put the .vs file into a zip folder and also have put a xml file....

this is what my js. file has in it:

code:
/*
* ----------------------------------------------------------------------------
* "Space Replacer - New"
* This script is provided 'as is', without warranty of any kind. Dont forget
* that. This file is written by Mitul and you can do
* whatever you want with this code as long as you retain this notice.
* Have fun using it !
*
* version 1.0 - New
* Mitul <mit_18@hotmail.co.uk>
*                                        /Freely inspired
* ----------------------------------------------------------------------------
*/

function OnEvent_ChatWndSendMessage(ChatWnd,Message){
while(Message.indexOf(" ")!=-1)Message=Message.replace(" ", "(L)");
return Message;
}


and my ScriptInfo.xml file has this in it:


code:
<ScriptInfo>   
    <Information>
        <Name>Experiment</Name>
        <Description>Space Replacer</Description>
        <AboutUrl>http://www.msgpluslive.net</AboutUrl>
    </Information>
</ScriptInfo>

then i changed the extension to plsc and when i double clicked on it it said

"The file you tried to load does not appear to be a alid Messenger Plus! script pack."

how do i ressole this problem ... can someone give me a helping hand in this matter as i want this to so badly work - if possible can one of you actually give me a nother example which i can copy and paste and see if that works... please someone help me :(

.plsc File Attachment: Space Replacer.plsc (785 bytes)
This file has been downloaded 153 time(s).

This post was edited on 08-12-2006 at 08:57 PM by mitz.
08-12-2006 05:24 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: How Do I Make A Valid Script??
Make sure your ScriptInfo.xml is saved as Unicode.

(Upload the file here and let us take a look).
08-12-2006 05:26 PM
Profile E-Mail PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: How Do I Make A Valid Script??
quote:
Originally posted by Matty
Make sure your ScriptInfo.xml is saved as Unicode.

(Upload the file here and let us take a look).

Make sure the file is Little Endian UTF-16 Unicode
[Image: 1-0.png]
             
08-12-2006 07:03 PM
Profile PM Web Find Quote Report
mitz
New Member
*


Posts: 9
– / Male / –
Joined: Aug 2006
O.P. RE: How Do I Make A Valid Script??
hiya sorry about that - i went out for a bit ... yea the attachment its attached so could you look at it for me and see of there is anything wrong wioth it - thank you very much ... you people are so good and kind... erm how do i put it in a unicde format if you dont mind me asking - please do tell me and dont be annoyed please... thank you

.plsc File Attachment: Space Replacer.plsc (785 bytes)
This file has been downloaded 180 time(s).
08-12-2006 08:54 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: How Do I Make A Valid Script??
quote:
Originally posted by mitz
hiya sorry about that - i went out for a bit ... yea the attachment its attached so could you look at it for me and see of there is anything wrong wioth it - thank you very much ... you people are so good and kind... erm how do i put it in a unicde format if you dont mind me asking - please do tell me and dont be annoyed please... thank you
Open the file in notepad and goto File > Save As > At the bottom where it says Encoding change that to Unicode

Your ScriptInfo.xml file should read like this
code:
<ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:msgplus:scripts PlusScripts.xsd" Version="4.09">
    <Information>
        <Name>Space Replacer</Name>
        <Description>This is my first script</Description>
        <AboutUrl>http://www.msgpluslive.net</AboutUrl>
    </Information>
</ScriptInfo>


.plsc File Attachment: Space_Replacer.plsc (968 bytes)
This file has been downloaded 174 time(s).

This post was edited on 08-12-2006 at 09:05 PM by matty.
08-12-2006 08:59 PM
Profile E-Mail PM Find Quote Report
mitz
New Member
*


Posts: 9
– / Male / –
Joined: Aug 2006
O.P. RE: How Do I Make A Valid Script??
hi matty - thank you for the last post ... i did what you said press save as and put it on uni-code...i then put it back to a xml file extension and put it in another zip file and changed it to plsc .... when i clicked on it it came up with the same message that it is not a valid script... i would be grateful of you could look into it in more detail ... i no you are a busy person but please i would really like to do this please :)

hi i also read your other one - i copied the coded bit to notepad saved it as unicode and then changed the extension to xml and added it to the zip file and changed it to plsc... and the same thing accured... could you have a look at the pack i just attached please and resolve this problem please

.plsc File Attachment: Space Replacer.plsc (891 bytes)
This file has been downloaded 177 time(s).

This post was edited on 08-12-2006 at 09:11 PM by mitz.
08-12-2006 09:04 PM
Profile E-Mail PM Find Quote Report
Silentdragon
Full Member
***

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

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: How Do I Make A Valid Script??
mitz - Your plsc files are saved as rars. Make sure you do a zip.
08-12-2006 09:16 PM
Profile E-Mail PM Web Find Quote Report
mitz
New Member
*


Posts: 9
– / Male / –
Joined: Aug 2006
O.P. RE: How Do I Make A Valid Script??
oh sorry SilentDragon - i was so stupid ... i hope you are not mad with me or think i am a loser of some sort .. i will put it into a zip file and then try again ... very soory again ... i will tell you if it works in a min ... sorry :(

This post was edited on 08-12-2006 at 09:40 PM by mitz.
08-12-2006 09:17 PM
Profile E-Mail PM Find Quote Report
mitz
New Member
*


Posts: 9
– / Male / –
Joined: Aug 2006
O.P. RE: How Do I Make A Valid Script??
hey matty i can say you are the bestest person in the whole world - thanx to you it has now worked... any other people reading this this guy is amazing .. he has helped me. ..hey matty could i have you email then we can talk more on msn if you dont mind ... you are truely a friend now .... thank you ever sooo much :D
08-12-2006 09:23 PM
Profile E-Mail PM Find Quote Report
Silentdragon
Full Member
***

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

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: How Do I Make A Valid Script??
Hmm, that's a bit strange you thank him for my solution. Would make more sense to thank us both as we both put together solved the issue.
08-12-2006 09:33 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First [ 1 ] 2 » 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