#CharName is your character’s name. Unlike most string variables, its spaces stay spaces.
It is read from your character’s status, which the client only has once the status window has been opened.
If it reads N/A, open the status window once, by hand or with event Macro 8 2.
Example
Section titled “Example”display ok My name is #CharNamehaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.