1

Topic: Question about "Exec" command

Hey,
Here's my problem big_smile

I want to execute a name.txt file encoding in UTF-8 (exemple : player_name Bobby).

After writing exec name.txt ingame, it says : No such command: player_name

But in Ansi encoding, it works good o_o. Is there any way to use UTF file ?

Thanks big_smile

2

Re: Question about "Exec" command

I don't thinks so. Why don't you encode it in ANSI?

3

Re: Question about "Exec" command

Cause i want to use Symbols, and only UTF8 can support it sad (i think o_o)

4

Re: Question about "Exec" command

Just tested it. Seems that only ANSI is supported. Can you write the name directly into the settings.cfg or in the GUI? Or can you life without some fancy chars and symbols?

5

Re: Question about "Exec" command

Yea can use symbols in settings.cfg ^^ but i want to change my name ingame without leaving teeworlds like : [symbol1]Name to [symbol2]Name

6

Re: Question about "Exec" command

If you are just using two different names, bind them to any key, with writing the name change bind directly into the settings file. Then you can press the button ingame and change between both names.

Otherwise, if you want to have random characters and lots of different names, it won't work, because ingame UI doesn't support writing special chars.

» Use the Search Function before opening multiple topics...
» Member of: JsA - Just stay Alloha! (since 2009)

7

Re: Question about "Exec" command

Bobby92 wrote:

Yea can use symbols in settings.cfg ^^ but i want to change my name ingame without leaving teeworlds like : [symbol1]Name to [symbol2]Name

Write binds in the settings.cfg such as:

bind x player_name [symbol1]Name
Not Luck, Just Magic.

8

Re: Question about "Exec" command

Dune wrote:
bind x player_name [symbol1]Name

That's the bind I was looking for to post it aswell. Couldn't find it... Dune ftw!

» Use the Search Function before opening multiple topics...
» Member of: JsA - Just stay Alloha! (since 2009)

9

Re: Question about "Exec" command

Maybe your file had a BOM header at the beginning, that's common with UTF-8 files, teeworlds probably doesnt support that

10

Re: Question about "Exec" command

Hehe, it works good ^^ It was easy in the end !

Thanks you all smile