Njol / 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
104 stars 60 forks source link

List Var. & Random Element cause errors. #341

Closed Zerkhan closed 10 years ago

Zerkhan commented 10 years ago

Hi.

After reloading all scripts, there is no errors, but when I execute /testlist, nothing happend, and Skript log a bug report to the console.

command /testlist:
    trigger:
        add "String 1" to {_Test::*}
        add "String 2" to {_Test::*}
        add "String 3" to {_Test::*}
        add "String 4" to {_Test::*}
        message "%a random element out of all {_Test::*}%" to player

Skript version : 2.1.2 Spigot version : Spigot-1.7.2-R0.3-122-gb58e277 (MC: 1.7.2) (Implementing API version 1.7.2-R0.4-SNAPSHOT) Console output : http://pastebin.com/eqDXxwLC

Zerkhan commented 10 years ago

Solved by Pilvimaa : "%a random element out of all {_Test::*}%"