What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help with my script

help with my script
Author: Message:
lammerzor
New Member
*


Posts: 3
Joined: Feb 2007
O.P. help with my script
hello

i was writing my script and when i go to the menu and click on my script nothing appends :S and it was to open the windows.xml

here is the code

script:

code:
var test = '';

function OnEvent_Signin(Email)
{
if(Email == "zeroonnet@internetskill.net")
{
var Message = "Hello Master " + Messenger.MyName + "!";
Message = MsgPlus.RemoveFormatCodes(Message);
MsgPlus.DisplayToast("", Message);
}
}

function OnGetScriptMenu(){
var ScriptMenu = "<ScriptMenu>";
ScriptMenu += "<MenuEntry Id='zerotools'>";
ScriptMenu += "zeroonnet tools";
ScriptMenu += "</MenuEntry>";
ScriptMenu += "</ScriptMenu>";
return ScriptMenu;
}

function OnEvent_MenuClicked(sMenuId){
if(sMenuId == "zerotools") {test = MsgPlus.CreateWnd("windows.xml","zerotools");}
}

function OnzerotoolsEvent_CtrlClicked(PlusWnd, ControlId){
if(ControlId == "fechar") {PlusWnd.Close(1);}
}

windows.xml

code:
<Interfaces xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Window Id="zerotools" Version="0.5">
    <Attributes>
        <Caption>zerotools</Caption>
        <SetForeground>True</SetForeground>
        <TopMost>true</TopMost>
    </Attributes>
    <Position Width="150" Height="100"/>
        <WindowTmpl>
            <Corners Shape="Round">
                <RoundSize>3</RoundSize>
            </Corners>
            <Borders Type="Dialog"/>
        </WindowTmpl>
        <Controls>
        <Control xsi:type="ButtonControl" Id="fechar">
        <Position Left="50" Top="50" Width="20" Height="10"/>
        <Caption>Fechar</Caption>
        </Control>
        </Controls>
    </Window>
</Interfaces>

wher is the error?


sorry my bad bad english but i am portuguese :D and sorry if the error is stupid but this is my first script :D
02-03-2007 12:27 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
help with my script - by lammerzor on 02-03-2007 at 12:27 AM
RE: help with my script - by roflmao456 on 02-03-2007 at 01:25 AM
RE: help with my script - by lammerzor on 02-03-2007 at 01:54 AM
RE: help with my script - by CookieRevised on 02-04-2007 at 01:26 AM


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