Forum

Results 1 to 1 of 1
  1. #1
    Join Date
    September 2005
    Location
    Germany / Dortmund
    Posts
    1,376

    [pluginsdk]printMessage to private chat tab

    I would suggest to add a function (or change the existing printMessage function) to be able to print a message in a private chat.

    Currently you can only print a message to a private chat via printMessageToCurrentTab, but you never know (or only with a lot of overhead), if it's the current tab.

    My suggestion would be:
    Code:
    enum PluginMessageTarget {
    	PLUGIN_MESSAGE_TARGET_SERVER = 0,
    	PLUGIN_MESSAGE_TARGET_CHANNEL,
    	PLUGIN_MESSAGE_TARGET_CLIENT
    };
    
    void (*printMessage)(uint64 schid, const char* message, enum PluginMessageTarget messageTarget, anyID toID);
    toID could be ignored, if messageTarget is not PLUGIN_MESSAGE_TARGET_CLIENT. If there is no private chat with "toID", the client could ignore it or throw an error.
    Last edited by Thomas; August 19th, 2013 at 04:54 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: January 9th, 2015, 05:29 PM
  2. [Not possible] Can I look at the private Chat of other users?
    By xHazeBaze in forum Windows
    Replies: 1
    Last Post: November 17th, 2014, 02:09 AM
  3. Private Chat
    By crazykill in forum Client Support
    Replies: 0
    Last Post: May 10th, 2014, 12:32 PM
  4. Private Chat Logs
    By AvariceSyn in forum General Questions
    Replies: 1
    Last Post: March 9th, 2011, 02:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •