Forum

Results 1 to 4 of 4
  1. #1
    Join Date
    December 2009
    Location
    Germany / NRW
    Posts
    74

    Sendtextmessage by query client

    Hello,

    I used sendtextmessage command by query port to send a text message to a special channel with id 5.

    So I typed:

    sendtextmessage targetmode=2 target=5 msg=Hello\sWorld!
    But everytime the server sends the message to the default channel.

    Am I not able to write the command correctly or is there a bug in sendtextmessage by query?

    Tested this on 3.0.6.1 and 3.0.7-BETA x64 - Windows


    Best regards

    Stefan
    Last edited by par0noid; March 4th, 2013 at 11:04 AM. Reason: Additional server info

  2. #2
    Join Date
    September 2012
    Posts
    6,035
    There is no bug here, server query clients are regular clients in any way and can only send messages to their current channel.

  3. #3
    Join Date
    September 2012
    Posts
    29
    Sorry for bumping this topic, but I don't want to create another topic regarding this.

    Quote Originally Posted by Chris View Post
    There is no bug here, server query clients are regular clients in any way and can only send messages to their current channel.
    So what is the purpose of the "target" argument then?

  4. #4
    Join Date
    September 2012
    Posts
    6,035
    The target parameter is there to specify the client that is to receive private messages being sent by query clients. iirc the documentation even mentions that the target parameter is ignored except for private messages.
    When sending PMs please make sure to include a reference link to the thread in question in the body of your message.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: January 15th, 2013, 05:40 PM
  2. [No bug] sendtextmessage bug
    By Trekkan in forum Bug Reports [EN/DE]
    Replies: 2
    Last Post: August 13th, 2010, 10:22 PM
  3. [suggestion] Sendtextmessage functionality
    By Bloody-wave in forum Suggestions and Feedback
    Replies: 0
    Last Post: March 18th, 2010, 12:34 PM
  4. Replies: 1
    Last Post: February 5th, 2010, 04:39 PM
  5. ServerQuery sendtextmessage
    By benv666 in forum General Questions
    Replies: 4
    Last Post: January 27th, 2010, 06:26 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
  •