Forum

Results 1 to 7 of 7
  1. #1
    Join Date
    July 2011
    Posts
    4

    Question ClientQuery: Getting my CLID

    I've been playing with the ClientQuery plugin for the last few days. It's great - I managed to export "who's speaking now" data from it to my LCD display in only a few hours using it.

    What I haven't been able to work out is a way to get the current user's identity, i.e. *my clid*. With this I could then extract things like, current channel name & topic and my mute status easily (I can already do that for any manually selected user).

    There must be a way to work out who i am, but I can't find it - there doesn't seem to be any sort of "whoami" equivalent...

    Can anyone help me with this?

  2. #2
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    Hi,

    you are right this functionality was missing. You will like the upcoming client release, we improved clientquery a lot. One of the many new commands is "whoami", I quote the help file:

    Usage: whoami

    Retrieves information about ourself:
    - ClientID (if connected)
    - ChannelID of the channel we are in (if connected)

    If not connected, an error is returned.

    Example:
    whoami
    clid=56 cid=1
    error id=0 msg=ok
    This client should be ready for testing in beta channel by tomorrow. Keep tuned for an announcement on the Announcements board
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

  3. #3
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    Got a chance to try it yet? Any feedback?

  4. #4
    Join Date
    July 2011
    Posts
    4
    Wow, that's great news. I thought I'd be notified of replies but it turns out I'm not. Good thing I decided to check "manually"!

    switching to the beta channel now. I can't tell you how grateful I am for this change - I had coded in a messy regex field to allow a user to specify their normal username(s), but if they just missed that it looked like half the stuf didn't work... hooray for user proofing!

  5. #5
    Join Date
    July 2011
    Posts
    4
    Right, fully tested it & integrated it into my app and it works like a charm. Thanks for implementing this.

    Is there any schedule for upgrading the release channel with this feature?

    P.S. I've also found the "subscribe to thread button"

  6. #6
    Join Date
    December 2009
    Location
    Germany
    Posts
    2,355
    Quote Originally Posted by Triscopic View Post
    Is there any schedule for upgrading the release channel with this feature?
    Afaik next week.

  7. #7
    Join Date
    July 2011
    Posts
    4
    Great, well before the end of our current release cycle.

    Cheers guys.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [Not possible] How to set avatar through ClientQuery
    By Beallitasok in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: November 29th, 2018, 04:53 PM
  2. Clientlist ClientQuery
    By Hansz in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: July 28th, 2015, 07:44 PM
  3. TeamSpeak 3 PHP get clid
    By Patrick1164 in forum General Questions
    Replies: 3
    Last Post: September 14th, 2014, 06:26 PM
  4. ClientQuery plugin
    By florian_fr40 in forum Client Plugins / Lua Scripts
    Replies: 16
    Last Post: October 14th, 2010, 05:33 PM

Tags for this Thread

Posting Permissions

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