MetaTrader 4 MT4 Libraries Send a notification to your ICQ, MSN, AIM,… contacts – library MetaTrader 4

Send a notification to your ICQ, MSN, AIM,… contacts – library MetaTrader 4

Description
=======

This library is based on Cristian Libotean's CommandLine-Plugin for "Miranda IM".
Miranda IM is a (open source) multi-protocol (ICQ,MSN,AIM,...) instant messaging client for Windows.
In conjunction with Miranda IM, you can use this library to control your Miranda IM client. 
E.g. Send and receive messages, set the status, read the contact list, etc..


Installation
=======

.) Install Miranda IM. 


.) Install the Miranda CommandLine plugin.  (0.0.2.8)


.) Copy the mtmim.dll to ...[MetaTrader]\experts\libraries\

.) Copy the example files to ...[MetaTrader]\experts\indicators\
   See the example files for usage.



Function description
=============

Function:
     int m_sendCommandWaitResponse(string command, string args, string delimiter, int timeout);
        sends a command to Miranda IM.

Parameters:
     string command
        A command-string 
        e.g.: status awaymsg xstatus popups sounds clist quit help exchange yamn 
             callservice message db proxy contacts history version

     string args
        Arguments divided by a special character (delimiter)

     string delimiter
        a character to seperate the arguments     

     int timeout
     	Time in ms to wait for response, -1  endless
        use the m_getLastResponseString() function to get the response-string.

Return Value:
     Returns 0 if the call is successful.

e.g.:   
   if( m_sendCommandWaitResponse("message","susi|hello susi, how are you?","|",-1) != 0)
      Print("Error=",m_getLastResponseString());
   else
      Print("Return=",m_getLastResponseString());

e.g.:
   m_sendCommandWaitResponse("help","message","",-1);
   Print("message-command arguments:",m_getLastResponseString());

--------------------------

Function:
   string m_getLastResponseString();
        Retrieves the response-string


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks