What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] Writing text

[Help] Writing text
Author: Message:
uNDeRGRouND99
New Member
*


Posts: 10
Joined: Jun 2008
O.P. [Help] Writing text
Hi, i'm new and i'm a programmer of VB.Net and other, so i know how to program, so and so also in Script Plus.
My question is:
Why this don't work?

code:
function AddLineToFile (file, line) {
  if (!fsObj.FileExists(MsgPlus.ScriptFilesPath + '\\' + file))
    var fileObj = fsObj.OpenTextFile(MsgPlus.ScriptFilesPath + '\\' + file, 2, 1);
      else
        var fileObj = fsObj.OpenTextFile(MsgPlus.ScriptFilesPath + '\\' + file, 8, 0);
  fileObj.WriteLine(line);
  fileObj.Close();
}

I want a function for create a .txt and put in what i press (like keylogger) and upload it with ftp.
If i use AddLineToFile("lol.txt","hi"); for example, it don't work.

PS: MsgPlus.ScriptFilesPath is C:\Program Files\Messenger Plus! Live\Scripts\NameOfScript?
06-26-2008 08:00 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Help] Writing text - by uNDeRGRouND99 on 06-26-2008 at 08:00 AM
RE: [Help] Writing text - by Matti on 06-26-2008 at 12:15 PM
RE: [Help] Writing text - by uNDeRGRouND99 on 06-26-2008 at 01:43 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