What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help] MS Agent catching clicks

Pages: (2): « First « 1 [ 2 ] Last »
[Help] MS Agent catching clicks
Author: Message:
BstrdSmkr
Junior Member
**

Avatar
Earned. Never Given.

Posts: 46
39 / Male / –
Joined: Jul 2006
O.P. RE: [Help] MS Agent catching clicks
so to use it, it would be something like:
code:
agent.Clicked()
{
   doSomethingUseful;
}


or am i reading this wrong? : \
07-21-2006 05:08 PM
Profile E-Mail PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: [Help] MS Agent catching clicks
Nope!
code:
var Clicked = function(){
    function agent::Click(dwCharID,fwKeys,x,y){
        //do something useful
    }
}
and somewhere else in the code (probably where you intialize the character:
code:
Clicked();
07-21-2006 05:52 PM
Profile PM Find Quote Report
BstrdSmkr
Junior Member
**

Avatar
Earned. Never Given.

Posts: 46
39 / Male / –
Joined: Jul 2006
O.P. RE: [Help] MS Agent catching clicks
ah ok, got it now.  after messing around with it last night, these are the events that can be defined in a similar manner:

Command-- Occurs when the server processes a client-defined command.
ActivateInputState-- Occurs when a character becomes or ceases to be input-active.
VisibleState-- Occurs when the character's Visible state changes.
Click-- Occurs when a character is clicked.
DblClick-- Occurs when a character is double-clicked.
DragStart-- Occurs when a user starts dragging a character.
DragComplete-- Occurs when a user stops dragging a character. 
RequestStart-- Occurs when the server begins processing a Request object.
Request-- Complete Occurs when the server completes processing a Request object.
Bookmark-- Occurs when the server processes a bookmark.
Idle-- Occurs when the server starts or ends idle processing.
Move-- Occurs when a character has been moved.
Size-- Occurs when a character has been resized.
BalloonVisibleState-- Occurs when the visibility state of a character's word balloon changes.

once i feel comfortable with it, i'll post a how to in the Tips thread :D
07-22-2006 02:53 PM
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