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

Pages: (2): « First « 1 [ 2 ] Last »
1 votes - 5 average   [Request] ..:Help for scriptfunction!!:..
Author: Message:
Jumpfreakske
Junior Member
**

Avatar
Hardstyle!!!

Posts: 62
Reputation: -7
31 / Male / Flag
Joined: Jan 2007
O.P. RE: RE: [Request] ..:Help for scriptfunction!!:..
quote:
Originally posted by davidpolitis
Try this:

code:
function OnEvent_MenuClicked(MenuId, Location, ChatWnd)
{
if (MenuId == "MenuID")
{
  for(var enumerator = new Enumerator(ChatWnd.Contacts) ; !enumerator.atEnd(); enumerator.moveNext())
  {
   var Contact = enumerator.item();
   var sChatWnd = Messenger.OpenChat(Contact.Email);
   sChatWnd.SendMessage("Message Here");
  }
}
}


Do I have to put this in the 'WndStart.Handler' ?
12-19-2007 10:23 AM
Profile E-Mail PM Web Find Quote Report
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: RE: RE: [Request] ..:Help for scriptfunction!!:..
quote:
Originally posted by davidpolitis
quote:
Originally posted by Jumpfreakske
Do I have to put this in the 'WndStart.Handler' ?
Do you seriously know what you're doing? First of all you asked for code to send a message for the OnClick of a Link Control in a Window and then you asked for a ScriptsMenu OnClick  and now you don't even know where to put the given code and now you expect me to know how everything in your script is set up :S

This post was edited on 12-19-2007 at 10:30 AM by davidpolitis.
12-19-2007 10:24 AM
Profile PM Find Quote Report
Jumpfreakske
Junior Member
**

Avatar
Hardstyle!!!

Posts: 62
Reputation: -7
31 / Male / Flag
Joined: Jan 2007
O.P. RE: RE: RE: RE: [Request] ..:Help for scriptfunction!!:..
quote:
Originally posted by davidpolitis
quote:
Originally posted by Jumpfreakske
Do I have to put this in the 'WndStart.Handler' ?
Do you seriously know what you're doing? First of all you asked for code to send a message for an OnClick and now you're asking for a ScriptsMenu OnClick :S

No, No, sorry. I know what I want ;) I Just wasn't sure
where I had to put this code....
the point is (see the screenshot on the first post)
That when people click on that link, they receive a message with link :)
12-19-2007 10:28 AM
Profile E-Mail PM Web Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: [Request] ..:Help for scriptfunction!!:..
So, you don't want the current user who clicked on that link to send the message, but receive a message in a chat window, right? :S

But then...
  • ...who would send that message?
  • ...why can't you just display a toast when the user clicks that link, and make the site open when the user clicks the toast?
  • ...why can't you just make a link do what a link is supposed to do: open a web page?
I think your logic simply doesn't work. :S

By the way, it's not possible that you see a message in a chat window without having your contact see it too, whether that contact sent or received that message!
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-19-2007 11:03 AM
Profile E-Mail PM Web Find Quote Report
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: [Request] ..:Help for scriptfunction!!:..
I think he really means that he'll have a Link Control in his window and on the OnClick, a message to be sent to a contact...
12-19-2007 11:10 AM
Profile PM Find Quote Report
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: [Request] ..:Help for scriptfunction!!:..
quote:
Originally posted by davidpolitis
I think he really means that he'll have a Link Control in his window and on the OnClick, a message to be sent to a contact...
But then again, which contact? :P
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-19-2007 11:16 AM
Profile E-Mail PM Web Find Quote Report
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: [Request] ..:Help for scriptfunction!!:..
The contact in the convo that the ScriptsMenu Item was clicked in to generate the window? I really cannot be bothered since I'm tired, have helped enough and my code snippets have been rendered almost useless...

This post was edited on 12-19-2007 at 11:23 AM by davidpolitis.
12-19-2007 11:22 AM
Profile PM Find Quote Report
Jumpfreakske
Junior Member
**

Avatar
Hardstyle!!!

Posts: 62
Reputation: -7
31 / Male / Flag
Joined: Jan 2007
O.P. RE: [Request] ..:Help for scriptfunction!!:..
I will explain it once more, hopely clear now :) :

When people download and install my script, they have to start
it with typing '!start'. When they typed !start, this window will open (WndStart.xml)

[Image: screenshotscriptum9.png]

Then they can click on one of these 3 links:
    - Normally their browser will open on that internet adress
    - Now: I want a message to be sent.


This screenshot explains it all (the working of it):

[Image: helppppvy3.jpg]

Do you understand now what i'm trying to explain ? :)

This post was edited on 12-19-2007 at 11:40 AM by Jumpfreakske.
12-19-2007 11:39 AM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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