CLEO Help Detect NR message chat with the color FFA500.

CLEO related

Escalasion

Member
Joined
Sep 20, 2024
Messages
20
Reaction score
0
Hello! Can someone help me with this cleo way of detecting NR messages with the color FFA500? I want to make it so that when the last message on chat of type "NR" with that color appears, it executes this "chatmsg" below. The problem here is that if I do it so simply without any color variable, the "NR" message from any player or other events can be detected non-stop. I want to make it so that if the "NR" message contains the color FFA500, then this "chatmsg" can be executed, without being able to be executed if "NR" appears in chat with any other color or from players. But the problem is that I also did it with a variable of that color in "NR", but it no longer works at all to detect the "NR" message. What to do here?
 

Attachments

  • Code for detect NR message.PNG
    Code for detect NR message.PNG
    7 KB · Views: 14
  • Detect NR message chat.cs
    17.8 KB · Views: 0
  • NR message color {FFA500}.PNG
    NR message color {FFA500}.PNG
    13 KB · Views: 16

Escalasion

Member
Joined
Sep 20, 2024
Messages
20
Reaction score
0
It doesn't matter anymore. I finally managed to solve this problem. Now I have another one, namely, I want to know how I can make it store my name or other people's name in this content "NR name:" as it appears in the chat, in the picture and be able to say it in the chat? Example code: (0AF9: "The last announcement published by %s" 0@). How could I solve this?
 
Top