#make sure when adding objects to this file you include the base object before the calltips # otherwise the calltips wont show :< Debug Debug.DebuggingWindowVisible Debug.Trace(text) sends text to the Script Debugging window. If the debugging options are not enabled, the function does nothing. Messenger Messenger.Version Messenger.VersionBuild Messenger.ContactListWndHandle Messenger.CurrentChats Messenger.ReceiveFileDir Messenger.MyContacts Messenger.MyEmail Messenger.MyUserId Messenger.MyStatus Messenger.MyName Messenger.MyPersonalMessage Messenger.MyCurrentMedia Messenger.MyDisplayPicture Messenger.CustomEmoticons Messenger.AutoSignin() automatically signs-in the current user on Messenger, if possible. Messenger.Signout() signs out the current user from the Messenger service. Messenger.OpenChat(Contact) opens a chat window with the specified contact. If a chat window with this contact is already opened, the window is activated. MsgPlus MsgPlus.Version MsgPlus.VersionBuild MsgPlus.ScriptRegPath MsgPlus.ScriptFilesPath MsgPlus.MessengerIsLocked MsgPlus.UILangCode MsgPlus.DisplayToast(Title, Message [, SoundFile [, Callback [, CallbackParam]]]) displays a toast (popup window in the corner of the screen) with the specified message. MsgPlus.DisplayToastContact(Title, ContactName, Message [, SoundFile [, Callback [, CallbackParam]]]) displays a toast (popup window in the corner of the screen) with the specified contact's name and message. MsgPlus.CreateWnd(XmlFile, WindowId [, Options]) creates a new window based on an Interface XML file. MsgPlus.CreateChildWnd(Parent, XmlFile, WindowId, PosX, PosY [, Visible]) creates a child window for an existing interface window. It can be used to create wizards or any other kind of more complex windows. MsgPlus.AddTimer(TimerId, Elapse) function creates a new timer event for your script. The OnEvent_Timer event will be fired once after the specified time interval elapses. MsgPlus.CancelTimer(TimerId) cancels a timer event previously set with MsgPlus.AddTimer. MsgPlus.PlaySound(SoundFile [, MaxPlayTime]) plays a sound asynchronously. It can also be used to stop the current sound from playing. MsgPlus.LockMessenger(lock) triggers the Lock Messenger feature of Messenger Plus!. It can also be used to unlock Messenger. MsgPlus.LogEvent(Origin, Description, Icon) generates an event to be added in the Event Viewer of Messenger Plus! and the Event File if configured. MsgPlus.RemoveFormatCodes(text) removes Messenger Plus! Live formatting attributes from a string. MsgPlus.DownloadFile(url [, OutFile]) downloads a file asynchronously from an ftp, http or https source and generates an event when the download is complete. Interop Interop.Call(DllName, FunctionName [, Param1 [, Param2 [, Param3 [, Param4 [, Param5 [, Param6 [, Param7 [, Param8 [, Param9 [, Param10 [, Param11 [, Param12]]]]]]]]]]]]) allows scripts to call functions located in external libraries Interop.Call2(DllName, FunctionName [, Param1 [, Param2 [, Param3 [, Param4 [, Param5 [, Param6 [, Param7 [, Param8 [, Param9 [, Param10 [, Param11 [, Param12]]]]]]]]]]]]) It acts exactly like Interop.Call except that it expects a BSTR as return value. Interop.FreeDll(DllName) unloads a DLL previously loaded by a call to Call or Call2. Interop.GetLastError() returns the result of the GetLastError Windows API function as returned after the last call to Call or Cal Interop.Allocate(InitialSize) allocates a memory block of the given size for low level operations. #events function OnEvent_Signin(Email) is fired as soon as the current Messenger user signs-in. function OnEvent_SigninReady(Email) is fired when the current Messenger user signs-in, after information about the contact's list has been received from the server. function OnEvent_Signout(Email) is fired when the current Messenger user signs-out. function OnEvent_MyStatusChange(NewStatus) event is fired when the current user changes its Messenger status. function OnEvent_MyNameChange(NewName) is fired when the current user changes its name function OnEvent_MyPsmChange(NewPsm) is fired when the current user changes its personal message. The event is generated when the new personal message is sent to the server. function OnEvent_MyMediaChange(NewMedia) is fired when the current Messenger user changes or removes its "current media". function OnEvent_ContactSignin(Email) is fired when a contact signs-in in the current contact's list. function OnEvent_ContactSignout(Email) is fired when a contact signs-out from the current contact's list. function OnEvent_ContactStatusChange(Email, NewStatus) is fired when a contact changes his Messenger status. function OnEvent_ContactNameChange(Email, NewName) is fired when a contact changes its name. function OnEvent_ContactPsmChange(Email, NewPsm) is fired when a contact changes its personal message. function OnEvent_ContactMediaChange(Email, NewMedia) is fired when a contact changes or removes its "current media". function OnEvent_ContactBlocked(Email) is fired after a contact has been blocked. function OnEvent_ContactUnblocked(Email) is fired after a contact has been unblocked. function OnEvent_ContactListWndCreated() is fired when the contact list window is being created and shown. function OnEvent_ContactListWndDestroyed() is fired when the contact list window is being destroyed. function OnEvent_ChatWndCreated(ChatWnd) is fired when a new chat window is created. function OnEvent_ChatWndDestroyed(ChatWnd) is fired when a chat window is destroyed. function OnEvent_ChatWndContactAdded(ChatWnd, Email) is fired when a contact is added to the list of participants in a chat window. function OnEvent_ChatWndContactRemoved(ChatWnd, Email) is fired when a contact is removed from the list of participants in a chat window. function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind) is fired when a new message is received in a chat window. The event is generated for any message added to the history control which includes the messages sent by the current user. It can be used to modify the message before it is displayed to the user. function OnEvent_ChatWndSendMessage(ChatWnd, Message) is fired every time the current user sends a message in a chat window. function OnEvent_ChatWndEditKeyDown(ChatWnd, KeyCode, CtrlKeyDown, ShiftKeyDown) is fired every time a key is pressed in the typing area of a chat window. It can be used to filter out some keys and use them as shortcuts for a feature of the script. function OnEvent_Initialize(MessengerStart) is fired when the script is starting. function OnEvent_Uninitialize(MessengerExit) is fired when the script is ending. function OnEvent_MessengerLocked() is fired when the Messenger Lock feature of Messenger Plus! is enabled. function OnEvent_MessengerUnlocked() is fired when the Messenger Lock feature of Messenger Plus! is disabled. function OnEvent_Timer(TimerId) is fired when a timer created with MsgPlus.AddTimer reaches its specified time. function OnEvent_MenuClicked(MenuItemId, Location, OriginWnd) is fired when an item of a script menu is selected by the current user. function OnEvent_EnterPersonalizedStatus(NewStatus, NameTag, PersonalMessage, AutoMessage) is fired when the current user changes its status to a Messenger Plus! personalized status. function OnEvent_LeavePersonalizedStatus() is fired when the current user's status is changed back to a normal, non personalized status. function OnEvent_DownloadFileComplete(Url, OutFile, Success) is fired when a download operation previously initiated by MsgPlus::DownloadFile completes. function OnGetScriptMenu(Location) is fired when some of the Messenger Plus! menus are displayed. It allows scripts to return their own menu to be added to Messenger Plus!'s one. function OnGetScriptCommands() is fired when Messenger Plus! needs to display a list of commands supported by the script. #ChatWnds, ChatWnd, Contacts, Contact, Emoticons, Emoticon, PlusWnd and DataBloc arent exposed directly so no point in typing it out :P