What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » scrips that don't work

scrips that don't work
Author: Message:
ArkaneArkade
Full Member
***

Avatar
The One and Only

Posts: 193
Reputation: 5
39 / Male / Flag
Joined: Mar 2007
RE: scrips that don't work
I think what you really need to do is study a little more.  You're missing some of the obvious stuff.  I don't really understand what you're trying to script - can you maybe give a little more information and maybe you could get some more help.  I'd recommend you try to download the Scripting Doc from the scripts database.

Regarding your query about the brackets, they contain the actual data extracted from your function (in this case OnEvent_ChatWndSendMessage)

[string] OnEvent_ChatWndSendMessage( [object] ChatWnd, [string] Message );

OnEvent_ChatWndSendMessage - This is your function - will be called when you send a message.

ChatWnd - This will be the chat window ID - this is unique for each window, and so refers specifically to the window which called the event.

Message - This is simply the message you sent.


So, if your intention is to pretend to be your contact for every message you send the script would be similar to this:

function OnEvent_ChatWndSendMessage(ChatWnd, SentMessage)
{
  ChatWnd.SendMessage("/usay " + SentMessage)
}


(For the better scripters out there... please feel free to explain better - or more importantly correct me if I'm wrong - I'm really not too sure about any of this myself :S)
[Image: adsig.jpg]
12-10-2007 08:57 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
scrips that don't work - by paddysteed on 12-10-2007 at 07:25 PM
RE: scrips that don't work - by ArkaneArkade on 12-10-2007 at 08:57 PM
RE: scrips that don't work - by markee on 12-11-2007 at 07:39 AM
RE: scrips that don't work - by paddysteed on 12-11-2007 at 05:17 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