Nice post CookieRevised
very good explanation
quote:
Originally posted by CookieRevised
Yes... What did you use to create those JScript files?
Because the file was NOT properly written as an unicode file. The characters themselfs were written as unicode but the file itself is missing the special 2 byte unicode header (known as the BOF header) which is mandatory for every proper unicode file.
Since that special header is not present in the file, Plus! does not reconize the file as an unicode file and will simply read it as an ansi text file (since text files do not have that special 2 byte BOF header).
And because Plus! reads it as a normal ansi file, it stops reading after the second byte because that byte (0x00) isn't a proper ascii character and thus only "/" is shown (which was the first character in the file).
In other words, use a proper editor to save your files with (eg: notepad) and you wont have chopped of scripts...
All i did was copy the file as it was from
C:\Program Files\Messenger Plus! Live\Scripts\MultipleToaster directory into a folder i created in My Documents, then I packaged it.....
quote:
Originally posted by cookierevised
Secondly the error you got that the script couldn't be started is because the file ScriptInfo.xml must be saved in unicode (it can't be ansi!).
Ok.....
Since starting this thread, i have made another script, which adds a random gradient to text (by using [c=...]text[/c]) tags...
The ScriptInfo.xml file is written in
ANSI, and so for that matter is the RandomGradient.js
I have sent the RandomGradient.plsc package to two of my m8s, who have installed it successfully, and even used it in conversations with me