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 65 forks source link

Parsing is broken in 2.1.2 #342

Open Tsugaga opened 10 years ago

Tsugaga commented 10 years ago
command /ParseTest:
    trigger:
        set {_test} to "test:test2"
        set {_test::*} to {_test} parsed as "%text%:%text%"
        send "%{_test::*}%" to player
        stop

This returns "", and happens with any type of pattern parsing and types. Parsing only works when just doing:

set {_test::*} to {_test} parsed as text

Scripts load without error and there are no console errors.

MostFunGuy commented 10 years ago

Try using a * to denote a list variable? Your using {_test::} but you need to use {_test::*}

Tsugaga commented 10 years ago

That's just a bug in my bug report. Not sure why it's not showing the asterisks.

Njol commented 9 years ago

Works for me in 2.2.

ismooch commented 9 years ago

@Njol is that confirmation that 2.2 will fix the issue? Or that the issue itself was not confirmed? Because since 2.1.2 i have had a variety of parsing issues that circle around this bug. Patterns simply do not work.. While vague parsing does.