Skript: Docs: Duplications and Unknown names.

Created on 16 Aug 2016  路  5Comments  路  Source: SkriptLang/Skript

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.

bug documentation

Most helpful comment

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.

All 5 comments

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.

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.

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

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.

This has been since fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Eryk1983S picture Eryk1983S  路  3Comments

LeotomasMC picture LeotomasMC  路  3Comments

ghost picture ghost  路  3Comments

Misio12320 picture Misio12320  路  3Comments

MrScopes picture MrScopes  路  3Comments