Umbaska towny support not working?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ummobear

Member
Dec 24, 2017
2
0
0
I'm trying to make a towny sign command skript, which can teleport residents of towns to outposts by clicking the sign. Here's what I have so far:
code_language.skript:
on rightclick on sign:
    player is in world "Towny":
        if line 1 of clicked block is "[Outpost]":
            set {_n} to line 3 of clicked block parsed as a number
            set {_town} to line 2 of clicked block parsed as text
            if {_n} is set:
                if {_town} is set:
                    if town of player is "%{_town}%":
                        make player run command "t outpost %{_n}%" as op
                    else:
                        send "&cYou must be in the town %{_town}% to use this sign!"

After testing it appears this is a problem with Umbaska? I notice it hasn't been updated since 1.11 (I'm running 1.12.1) so that could be it.
(If I get skript to run "send "%town of player%"" it comes up with <none>)
 
I believe Umbaska does not work with 1.12+
I tried it once, and it didn't work, gave up. The addon is dead for sure.
 
Status
Not open for further replies.