Error with citizen names SkRayfall

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

Aidanete

Active Member
Apr 11, 2017
139
10
0
Hello, I recently (today) started using SkRayfall with Citizens plugins, however, I had an error sometimes with the code "citizen is named":

My code:
code_language.skript:
on citizen left click:
    citizen is named "<light red><bold>Antikore":
        message "<light red>[Antikore] <white>Ouch!, Thank you?" to the player
    citizen is named "<light blue><bold>Chip87":
        message "<blue>[CinematicChip87] <white>Dirp <yellow>;(" to the player
    citizen is named "<green><bold>Marcviver15":
        message "<green>[Marcviver15] <white>Test"

The citizen named Antikore work fine, the other named Marcviver15 also works fine, but the one named Chip87 don't work. This also happen on this other part of the code:

code_language.skript:
on citizen right click:
    citizen is named "<light red><bold>Antikore":
        message "<light red>[Antikore] <white>What are you waiting for? Play more minigames and get some coinies <yellow>:D" to the player
    citizen is named "<light blue><bold>Chip87":
        message "<blue>[CinematicChip87] <white>2 + 2 = 4" to the player
        wait 2 seconds
        message "<blue>[CinematicChip87] <white>4 - 1 = 3kmaths <yellow>xD" to the player

Please help!
 
Hello, I recently (today) started using SkRayfall with Citizens plugins, however, I had an error sometimes with the code "citizen is named":

My code:
code_language.skript:
on citizen left click:
    citizen is named "<light red><bold>Antikore":
        message "<light red>[Antikore] <white>Ouch!, Thank you?" to the player
    citizen is named "<light blue><bold>Chip87":
        message "<blue>[CinematicChip87] <white>Dirp <yellow>;(" to the player
    citizen is named "<green><bold>Marcviver15":
        message "<green>[Marcviver15] <white>Test"

The citizen named Antikore work fine, the other named Marcviver15 also works fine, but the one named Chip87 don't work. This also happen on this other part of the code:

code_language.skript:
on citizen right click:
    citizen is named "<light red><bold>Antikore":
        message "<light red>[Antikore] <white>What are you waiting for? Play more minigames and get some coinies <yellow>:D" to the player
    citizen is named "<light blue><bold>Chip87":
        message "<blue>[CinematicChip87] <white>2 + 2 = 4" to the player
        wait 2 seconds
        message "<blue>[CinematicChip87] <white>4 - 1 = 3kmaths <yellow>xD" to the player

Please help!
I’d recommend checking if the color where it says <light blue>...Chip87 is actually light blue and not another color. Color codes can change the whole value of the string.
 
Thank you, but I had both ideas, and I don't know how the Citizen IDs works and the color...

Maybe images can help me:
Chip87Bug.png
Chip87.png

This is the name /\ /\ /\
I also tested with blue but also didn't work. Help me!

EDIT: Okay, this is not my error, this is a skript error, basically Light blue the game is considering it as aqua, and in the documentation the two names for this color, one is considering it as aqua (Light blue) and the other (Indigo) doesn't work properly.

http://skriptlang.github.io/Skript/text.html

The solution I provided to this error is using the classic code "&9" and worked fine, hope this error will be fixed in a future (I'm currently on the last skript version (dev36).)
 
Last edited:
Thank you, but I had both ideas, and I don't know how the Citizen IDs works and the color...

Maybe images can help me:
View attachment 2426 View attachment 2427
This is the name /\ /\ /\
I also tested with blue but also didn't work. Help me!

EDIT: Okay, this is not my error, this is a skript error, basically Light blue the game is considering it as aqua, and in the documentation the two names for this color, one is considering it as aqua (Light blue) and the other (Indigo) doesn't work properly.

http://skriptlang.github.io/Skript/text.html

The solution I provided to this error is using the classic code "&9" and worked fine, hope this error will be fixed in a future (I'm currently on the last skript version (dev36).)
Yep, that’s exactly what I was going to say next, to use &9 instead of light blue. In fact, always aim to use the actual color codes instead of the <named> ones, because most of the time they’re inaccurate.
 
Status
Not open for further replies.