[Solved] Variable Char Name

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
huehuehuebr
Noob
Noob
Posts: 8
Joined: 08 Jan 2015, 07:10
Noob?: No

[Solved] Variable Char Name

#1 Post by huehuehuebr »

Hi,

I have a little problem, i try a lot and not found anything on tutorials or forums..
I want to make a macro thats log my character name.. its look like this:

do talknpc 100 29 w2 t=<$.name> w4 c w4 c w4

Whats happen: he will talk to npc in 100 29 / wait 2 sec / put her char name in the box / wait 4 sec / continue ....

But this variable dont return the name of my char..
I already try a lot of variables, and commands but failed.
Anyone know any better solution to put the char name in this situation?

Thanks !

---------------------------------------------------

I solved:

do talknpc 100 29 w4 c w4 t=@eval($::char->{name}) w4 c w4 c w4 r0 c w4 c

Anyway, thanks!

Locked