Aliases

  • 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!

  • 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.

MrJoao

Member
Aug 21, 2022
3
0
1
19
I'm trying to create an alias for a mod item, but it's giving an error that it's not a minecraft id


Code:
aliases:
    avaliador = sledenmod:avaliador

command /reset:
    trigger:
        set {sorteioclasse1.%player%} to 0

on rightclick:
    player's targeted block is avaliador:
        {sorteioclasse1.%player%} is 0:
            send "{@prefix} Analisando sua classe e rank!"

ERRO:
Code:
Line 10: (classe.sk)
Minecraft id sledenmod:avaliador is not valid
Line: avaliador: sledenmod:avaliador

Line 17: (classe.sk)
Can't compare a block with 'avaliador'
Line: player's targeted block is avaliador:
 
I believe that you cannot create aliases for modded items, as Skript doesn't recognize them.
 
Status
Not open for further replies.