[18:52:01 ERROR]: Can't compare a text with an integer (practice.sk, line 25: if "nodebuff-arena-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 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.

Rares1337

New Member
Jan 27, 2021
6
0
1
So, i get the error in the title whenever i run the code below
i am a complete noob, what do i do?
Code:
set nodebuff-arena-1 to 0
set nodebuff-arena-2 to 0
set nodebuff-arena-3 to 0
set debuff-arena-1 to 0
set debuff-arena-2 to 0
set debuff-arena-3 to 0
set sumo-arena-1 to 0
set sumo-arena-2 to 0
set sumo-arena-3 to 0
set bot-sumo-arena-1 to 0
set bot-sumo-arena-2 to 0
set bot-sumo-arena-3 to 0
set bot-nodebuff-arena-1 to 0
set bot-nodebuff-arena-2 to 0
set bot-nodebuff-arena-3 to 0

command /arene:
    trigger:
        message "ROKI PRACTICE - 10002"
        message "ARENE"
        if "nodebuff-arena-1" is 1:
            message "nodebuff-arena-1: /ndbf 1 &4[ARENA INCHISA]"
            else if nodebuff-arena-1 is 0:
                message "nodebuff-arena-1: /ndbf 1"
 
Status
Not open for further replies.