What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » why won't this work?

why won't this work?
Author: Message:
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: why won't this work?
You can use OnEvent_ChatWndSendMessage only once... so
code:

function OnEvent_ChatWndSendMessage(ChatWnd, Message){
if (Message.substr(0, 3)== "bye"){
return'/signout'
}
if (Message.substr(0, 4) == "away"){
return'/away'
}
if (Message.substr(0, 4) == "back"){
return'online'
}
}
should work.


Also message.substr was used in the wrong way

This post was edited on 10-19-2006 at 04:27 PM by Felu.
10-19-2006 04:25 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
why won't this work? - by Jimbo on 10-19-2006 at 04:22 PM
RE: why won't this work? - by markee on 10-19-2006 at 04:25 PM
RE: why won't this work? - by Felu on 10-19-2006 at 04:25 PM
RE: why won't this work? - by Shondoit on 10-19-2006 at 04:26 PM
RE: why won't this work? - by Jimbo on 10-19-2006 at 04:27 PM
RE: why won't this work? - by Felu on 10-19-2006 at 04:28 PM
RE: why won't this work? - by Jimbo on 10-19-2006 at 04:31 PM
RE: why won't this work? - by Ezra on 10-19-2006 at 04:43 PM
RE: why won't this work? - by Jimbo on 10-19-2006 at 04:44 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