1. 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 comminuty!

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

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Umbaska Towny skript no longer working after upgrade to 1.11.2

Discussion in 'Skript' started by Skuli, May 12, 2017.

Thread Status:
Not open for further replies.
  1. Skuli

    Skuli Member

    Joined:
    May 12, 2017
    Messages:
    9
    Likes Received:
    0
    Skript Version: [Skript] Loading Skript v2.2-dev26f
    Skript Author: Me
    Minecraft Version: 1.11.2

    ---
    Full Code:

    Code (Skript):
    1.  
    2. on rightclick on chest:
    3.        if name of town at event-block is "Wasteland":
    4.                send "Test message."
    5.  
    Errors on Reload:

    Code (Skript):
    1.  
    2. [07:01:59 INFO]: [Skript] Reloading test.sk...
    3. [07:01:59 ERROR]: Can't compare 'name of town at event-block' with a text (test.sk, line 2: if name of town at event-block is "Wasteland":')
    4. [07:01:59 INFO]: [Skript] Encountered 1 error while reloading test.sk!
    5.  
    Console Errors: (if applicable)

    Code (Skript):
    1. ERROR HERE
    Other Useful Info:

    Addons using (including versions):
    Umbaska v3.3
    SkQuery-Lime 1.11
    SkStuff v1.6.4.1
    Skellett v1.9.0e


    Troubleshooting:

    Have you tried searching the docs? Yes
    Have you tried searching the forums? Yes
    What other methods have you tried to fix it? Various script incarnations.

    Also, I did find this via Google but it's a dead link; perhaps Umbaska isn't functional with Towny any more?

    Code (Text):
    1.  
    2. [Addon] Umbaska 3 | UMBASKA 3 RELEASE!! | skUnity Forums
    3. https://forums.skunity.com › Addons
    4. Sorry to bother; can you update the towny hooks in Umbaska? ... a while ago o/ http://towny.palmergames.com/release-version-towny-advanced-0-90-0-0-1-8-3/.
    5. Block forums.skunity.com
    6.  
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,122
    Likes Received:
    157
    "Can't compare...." so Skript cant compare with text. Then test this out.
    Code (Skript):
    1. if "%name of town at event-block%" is "Wasteland":
     
Thread Status:
Not open for further replies.
Loading...