On Tab Complete argument

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Seo_Rong

Member
Mar 30, 2021
2
0
1
1.10.2 of skbee is in use for MC 1.16.5

I tried to use mundosk, but I excluded it because it was not available due to Minecraft version.

When I write the command, I want to make a list of the arrangements I set in tab complete.

I tried various methods, but only simple words were possible in position 1.

Position 1 doesn't pop up whether you use a loop or whatever to print an array.

I would appreciate it if you could let me know if there is any other way or way to solve the skript itself.

I've already tested all the on tab complete data in skunity, skript hub, and it's all failed.

I've tried it several times by changing it little by little, but it's all a failure.

For example, use index of syntax, remove loops and set the array itself.

If I found the error log, I would have solved it already.

But I'm asking because I don't think I can do it anymore.

Code:
on tab complete of "/weapon":

set tab completions for position 1 to "regist" and "delete"

If tabarg-1 is "delete":

set tab completions for position 2 to (index of {Weapon::Weapon_List::*})

If tabarg-1 is "regist":

set tab completions for position 4 to "physic" and "magic"
 
Last edited:
Status
Not open for further replies.