Can any nice person help me with the basic?(still need help) - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: Can any nice person help me with the basic?(still need help) (/showthread.php?tid=75375) Can any nice person help me with the basic?(still need help) by Drakal on 06-15-2007 at 07:05 PM
I have just started scripting but it dont goes so good for me Can anyone help me with the basic? RE: Can any nice person help me with the basic? by Chris4 on 06-15-2007 at 07:08 PM If you haven't already, download the Official Scripting Documentation. There's a section called "Your First Script", it's pretty good. Then you can read about all the other stuff too. RE: Can any nice person help me with the basic? by Drakal on 06-15-2007 at 07:13 PM
hm... but i still want the codes here... im not so good at english so it is hard to me to read... :/ RE: Can any nice person help me with the basic?(still need help) by Matti on 06-16-2007 at 08:28 AM
Well, first of all you'll need to learn the basics of JScript. Microsoft JScript looks a bit like JavaScript, so if you find a tutorial about JavaScript (like on w3schools.com) you can learn the basics from there if you want, like syntax, variables, functions, loops, statements,... You don't need to learn about the functions which require the script to be ran in a HTML page, because Plus! doesn't work with HTML. code:The first line indicates the name of the function (DisplayToast) and the type of the return value, in this case it'll return a Boolean (true or false). Check the return value of the function in the documentation to learn more about what is actually returned. The following lines contain information about the different parameters the function accepts. In this case, the first parameter should be a string object (e.g. "My Script"). The last three parameters are optional, which means that it's not necessary to specify those. However, if you don't specify enough parameters (so if you forget to specify a needed parameter), the function will fail and gives you an error. With this information, you can understand how to call the function: code:or if you want to make use of the CallBack functionality: code:And that concludes the first lesson in Messenger Plus! Live scripting. RE: Can any nice person help me with the basic?(still need help) by Drakal on 06-16-2007 at 11:11 AM
hm.. i wanted the codes... |