What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Can any nice person help me with the basic?(still need help)

Can any nice person help me with the basic?(still need help)
Author: Message:
Drakal
Junior Member
**

Avatar
Ohh no! im in the warp hole!!

Posts: 32
– / Male / Flag
Joined: Jun 2007
O.P. Huh?  Can any nice person help me with the basic?(still need help)
I have just started scripting but it dont goes so good for me:( Can anyone help me with the basic?
I only need I menu and when i click on a text in the menu a window will apper that only has a close button that work:D Not so much... so u that know more than me can help me... just put the codes in here :D or send a file(s) that i can download...

I can do a menu but it dont works to click on and i can do the widow but it dont apper when i click on the menu:S the close button on the window dont work:(

thx for helping:D.. (if someone now will help me :P)

This post was edited on 06-15-2007 at 09:55 PM by Drakal.
Scripts in progres:
AIOS??% 3050 lines (1800 lines more in the xml files) and 6 Mb (total)
(renamed from bad word filter.. it can do more than filter words now:P):
Programs in progres:
a calculator (name: Mini): ??% 3600 lines :O and 280 Kb (it was 100 lines first but my friend wanted it a little bit more advanced)
--------------
Sorry for my english.. im not so good
06-15-2007 07:05 PM
Profile PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
32 / Male / Flag
Joined: Dec 2004
RE: Can any nice person help me with the basic?
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. :)
Twitter: @ChrisLozeau
06-15-2007 07:08 PM
Profile PM Find Quote Report
Drakal
Junior Member
**

Avatar
Ohh no! im in the warp hole!!

Posts: 32
– / Male / Flag
Joined: Jun 2007
O.P. RE: Can any nice person help me with the basic?
hm... but i still want the codes here... im not so good at english so it is hard to me to read... :/
i know some about scripting... i just need that i asked for and i can the rest(not all but..)

thx anyway.. for trying to help:D i like person that help or tryes to help:)

This post was edited on 06-15-2007 at 07:17 PM by Drakal.
Scripts in progres:
AIOS??% 3050 lines (1800 lines more in the xml files) and 6 Mb (total)
(renamed from bad word filter.. it can do more than filter words now:P):
Programs in progres:
a calculator (name: Mini): ??% 3600 lines :O and 280 Kb (it was 100 lines first but my friend wanted it a little bit more advanced)
--------------
Sorry for my english.. im not so good
06-15-2007 07:13 PM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: Can any nice person help me with the basic?(still need help)
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. :P

If you understood the basics, you'll need to investigate the Scripting Documentation. I can assure you, for every script developer, the documentation is his most holy thing. It contains information about the available objects, functions, properties and events and has XML schemes with information about what you can use in a Plus! interface file. Most people get lost in the syntax part of a function. An example of a  syntax information:
code:
MsgPlus::DisplayToast
[boolean] DisplayToast(
    [string] Title,
    [string] Message,
    [string,optional] SoundFile,
    [string,optional] Callback,
    [var,optional] CallbackParam
);
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:
MsgPlus.DisplayToast("My Toast", "Hello world!");
or if you want to make use of the CallBack functionality:
code:
function DoOpenChat(sEmail) {
    return Messenger.OpenChat(sEmail);
}

MsgPlus.DisplayToast("My Toast", "Click here to open a conversation with John!", "", "DoOpenChat", "john@hotmail.com");
And that concludes the first lesson in Messenger Plus! Live scripting. :)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
06-16-2007 08:28 AM
Profile E-Mail PM Web Find Quote Report
Drakal
Junior Member
**

Avatar
Ohh no! im in the warp hole!!

Posts: 32
– / Male / Flag
Joined: Jun 2007
O.P. RE: Can any nice person help me with the basic?(still need help)
hm.. i wanted the codes...

but i created my script on my own... but the close buttons dont want to work for me. I type the codes i trought was right but it dont works...

Now i only need help with the close buttons.
It most be the easiest thing in world but i cant get it to work :(

This post was edited on 06-17-2007 at 12:19 PM by Drakal.
Scripts in progres:
AIOS??% 3050 lines (1800 lines more in the xml files) and 6 Mb (total)
(renamed from bad word filter.. it can do more than filter words now:P):
Programs in progres:
a calculator (name: Mini): ??% 3600 lines :O and 280 Kb (it was 100 lines first but my friend wanted it a little bit more advanced)
--------------
Sorry for my english.. im not so good
06-16-2007 11:11 AM
Profile PM Find Quote Report
« 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