Jump to content

Add ___ to ____ will not work


Recommended Posts

I designed a relatively simple script that just changes a variable tp be used by other skripts, for whatever reason, the add 50 to {mana.%player%} will not work. I already tried switching it to {mana::uuid} and it would still not work. I have SharpSk, SKBee, and TuSKe, removing any of them didn't fix it either. The server is 1.20.4.


command /manareset:
    trigger:
        set {mana.%player%} to 0
on first join:
    set {mana.%player%} to 100
on right click holding Blaze Powder:
    if {mana.%player%} is less than 151:
        add 50 to {mana.%player%}
        remove 1 of player's held item from player's inventory

Link to comment
Share on other sites

  • 2 weeks later...

Hi. I've run into a similar issue a few times, and the common denominator seems to be TuSKe. TuSKe is extremely outdated (1.11 I think?), and tends to brick Skript's alias cache whenever it's loaded. I can't be entirely certain, but try removing TuSKe and see if that works. Let me know if the issue persists.

Link to comment
Share on other sites

  • 1 month later...

Please make sure that you aren't responding to posts that haven't been responded to in over a month. Thanks!

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...