What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » command to detect characters

command to detect characters
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: command to detect characters
If you want to know if a "?" or "!" or anything else is received, use the OnEvent_ChatWndReceiveMessage function. ;)
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, Kind) {
   if(Origin != Messenger.MyName && Message.match(/[?!]/)) {
      //This will be triggered when the message came from someone else but you and contains a ? or ! character
   }
}
I don't really understand what you mean with "stop to do something", so maybe you should explain what you're making and what you want it to do. :)
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
09-24-2006 08:44 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
command to detect characters - by Jimbo on 09-24-2006 at 07:05 AM
RE: command to detect characters - by Matti on 09-24-2006 at 08:44 AM
RE: command to detect characters - by Jimbo on 09-24-2006 at 03:58 PM
RE: command to detect characters - by Felu on 09-24-2006 at 04:04 PM
RE: command to detect characters - by Jimbo on 09-24-2006 at 04:16 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