Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Docs: Duplications and Unknown names.

Open JavierKasunic opened this issue 10 years ago • 5 comments

Hey, there are duplications and syntaxes without names I've founded on the new docs:

Duplications docs_1 docs_7

Unknown names docs_2 docs_3 docs_4 docs_5 docs_6

And the structuretype type isn't defined on the type section of the docs.

JavierKasunic avatar Aug 16 '16 15:08 JavierKasunic

Unknown name means that something is wrong with documentation inside Skript's source. It is something that I need to fix on Java side. In cases which you posted:

  1. Something by Mirreski. I have no idea what it does...
  2. Expression by me. For some reason, I didn't leave docs there.
  3. Potion expression. It should have docs, but maybe I had not understood how to properly write them back when I forked Skript.
  4. Offtool is missing documentation, too.

Duplicate entries are just what you would think - they are registered multiple times using same class. Due to Skript's documentation being tied to classes, not instances, it will output incorrectly. However, this is something that is probably fixable.

bensku avatar Aug 16 '16 17:08 bensku

The use[s] (1¦old|2¦new|1¦2.1.2|2¦2.2) loops is an effect by Mirreski, this makes what the effect says on the syntax, use the loops of the 2.2 or 2.1.2 on the event. I don't know why he add it, but for the people who the loops of the 2.2 don't work (e.x: loop players), if you use this effect, it make the loops works other time. Example:

on script load:
    use 2.1.2 loops
    loop players:
        send "You're receiving this with the 2.1.2 loops" to loop-player

And the [chat][( |-)]recipients is an expression that contains all the players who are sent the message, you can add, remove, set and delete it. Example:

on chat:
    if player don't have permission "message.see":
        remove player from chat recipients #This makes the player don't receive the message but the others would receive it.

Also, what of the structuretype type on the docs? It's not defined on the type section.

JavierKasunic avatar Aug 16 '16 21:08 JavierKasunic

Uhh, I fixed looping players anyway a long ago... But I can see the use there :)

bensku avatar Aug 18 '16 06:08 bensku

I fixed missing information, since it was kinda more urgent. Other fixes will have to wait, I'm very busy with another project until end of the month.

bensku avatar Aug 21 '16 18:08 bensku

This has been since fixed.

bensku avatar Apr 06 '17 13:04 bensku