CLEO Help Detecting the full name of type NR in chat

CLEO related

Escalasion

Member
Joined
Sep 20, 2024
Messages
24
Reaction score
0
Hello! How could I make the script detect each player's full name? I know that variables like 0-31@v can hold up to 16 characters. I tried using a normal variable like 3@ with memory allocation on it to save the player's full name in the variable, but it doesn't work at all. What should I do? I really need the correct code to save a long name up to 24 characters long, until it stops at ":".
 

Attachments

  • NR Detect Name 16 characters.txt
    541 bytes · Views: 5
  • NR Detect Name until 24 characters.txt
    552 bytes · Views: 3

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,351
Solutions
7
Reaction score
952
Location
Lithuania
Hello! How could I make the script detect each player's full name? I know that variables like 0-31@v can hold up to 16 characters. I tried using a normal variable like 3@ with memory allocation on it to save the player's full name in the variable, but it doesn't work at all. What should I do? I really need the correct code to save a long name up to 24 characters long, until it stops at ":".
Provide pictures and chatlog.txt of what you trying to detect...
 

Escalasion

Member
Joined
Sep 20, 2024
Messages
24
Reaction score
0
Sorry, I didn't know exactly what you were referring to, but now I think I understand. Look, according to the image I shared with you now, that "NR name: ad", in which I want to extract the player's name from line 99 of the chat, but I don't know how I could extract a full name longer than 16+ characters, because in addition to the name, as you can see, that clan tag "[HAOS]" in the name is also taken into account, and here there may be chances of encountering a name consisting of 24 characters in total. So how could I make it extract the full name? Not just up to 16 characters maximum.
 

Attachments

  • Capture.PNG
    Capture.PNG
    13.1 KB · Views: 4

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,351
Solutions
7
Reaction score
952
Location
Lithuania
Sorry, I didn't know exactly what you were referring to, but now I think I understand. Look, according to the image I shared with you now, that "NR name: ad", in which I want to extract the player's name from line 99 of the chat, but I don't know how I could extract a full name longer than 16+ characters, because in addition to the name, as you can see, that clan tag "[HAOS]" in the name is also taken into account, and here there may be chances of encountering a name consisting of 24 characters in total. So how could I make it extract the full name? Not just up to 16 characters maximum.
Where is file chatlog.txt ? with that message?
 

Escalasion

Member
Joined
Sep 20, 2024
Messages
24
Reaction score
0
I don't have the message in this "chat log.txt". But why is it needed? Didn't I say very clearly that it's the last line of the chat in the game? I mean the 99th, because I just had a case in the past on this topic, and you didn't ask me for anything like that. I just want to know how I can make the variable retain a number greater than 16+ characters? According to the code I sent you.
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,351
Solutions
7
Reaction score
952
Location
Lithuania
I don't have the message in this "chat log.txt". But why is it needed? Didn't I say very clearly that it's the last line of the chat in the game? I mean the 99th, because I just had a case in the past on this topic, and you didn't ask me for anything like that. I just want to know how I can make the variable retain a number greater than 16+ characters? According to the code I sent you.
If you wanna get best result then you are going to provide what is required...
 
Top