Mirreski / Skript

Skript is a Bukkit plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
http://njol.ch/projects/skript
7 stars 2 forks source link

Added a per-script option for how loops should work. [V5] #12

Closed Mirreski closed 9 years ago

Mirreski commented 9 years ago

Suggestion from: http://dev.bukkit.org/bukkit-plugins/skript/forum/misc/79333-list-of-bugs-in-skript-2-2/?page=2#p37

Reason: Dispute for how loops should work.

Syntax: "use[s] (old|new|2.1.2|2.2) loops"

Can only be used on the script event. Don't put delays before the effect. Put it at the top or high up in your script since otherwise it may not take effect at the first reload.

If you don't set it, it defaults to how loops work in 2.2.

Example:

on script load:
    use 2.1.2 loops

Added as of V5.