• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Messages and colours

226
Posts
8
Years
  • Age 32
  • Seen Jul 19, 2023
It seems that the instructions to colour text given on the wiki (here) do not automatically apply to _INTL messages in the scripts.

For example if you want to change the color of the word "Bag" in the Pause Menu:

Code:
commands[cmdBag = commands.length]      = _INTL("[COLOR="Red"]\\c[2][/COLOR]Bag") if !pbInBugContest?

Here is the result:
U4quGOb.png


In Essentials scripts several lines use the "\c[n]" coloring code, but they are always processed through "Kernel.pbMessage".

How could you then add color to text that is not displayed through pbMessage?
 
Back
Top