1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Tab complete

Discussion in 'Skript' started by Runakai, May 19, 2018.

Thread Status:
Not open for further replies.
  1. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    Hey, it's me :emoji_wink:

    I wanted to know if there is a "on tab complete" event for 1.8.8. I know there is one for 1.9 but i need one for 1.8.8 for my nick-system.

     
  2. Best Answer:
    Post #6 by Normalguy, May 25, 2018
  3. Normalguy

    Normalguy Active Member

    Joined:
    Apr 19, 2018
    Messages:
    98
    Likes Received:
    0
    I think there is a packet
     
  4. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    I found out this:
    Code (Skript):
    1.  
    2. on chat tab complete:
    3.     loop {ServerNickNames::*}:
    4.         add loop-value to completions
    but its kinda buggy. If I add the Nick to the variable my original name is not shown, good up to this pint, but when I enter a "r" and THEN press tab my Name is shown. And for example if my nick is "Test" an want to execute /stats Test it doesn't recognize Test as me ;-;
     
  5. Normalguy

    Normalguy Active Member

    Joined:
    Apr 19, 2018
    Messages:
    98
    Likes Received:
    0
    http://wiki.vg/Protocol
    Do you know packets? In cilent bounce there is. Packet called. tab complete
    You can use that one
     
  6. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    I've never worked with packets. Do you have any examples or even give me an example for the tab completer?
     
  7. Normalguy

    Normalguy Active Member

    Joined:
    Apr 19, 2018
    Messages:
    98
    Likes Received:
    0
    Code (Skript):
    1. On packet:
    2.     Event string is “PacketPlayOutTabComplete”
    3. #do stuff
    I am so so so sorry for late.
    Maybe you can test this
    --- Double Post Merged, May 25, 2018, Original Post Date: May 25, 2018 ---
    I didn’t test this yet.(sorry this is my phone)
    And maybe I typed wrong code
    I think it’s
    Code (Skript):
    1. event-string is
    You need addon called Skellete
     
  8. Runakai

    Moderator Supporter

    Joined:
    Apr 27, 2018
    Messages:
    497
    Likes Received:
    31
    I tried both and it does not work. Of course I also have Skellett. "Can't understand this condition/effect"
    --- Double Post Merged, May 26, 2018 ---
    Nvm it works. How do I edit it to work on a nick skript so the original name will not be shown in the Chattabcompleter/Commandcompleter etc.. ?
     
Thread Status:
Not open for further replies.

Share This Page

Loading...