Jump to content
  • 0
HD Scripts

Chat colorido

Question

Buenas.

Seguinte: eu acompanhei vários tópicos aqui e no Hercules.
Porém nenhum está atualizado.

Eu consegui aplicar um diff, que mudou a cor do que eu escrevo, mas só no chat.
Não aparecendo o "balão" de conversa em cima do char.
E para os outros players, aparece a cor verde (normal) da conversa.

Tópicos:

https://herc.ws/board/topic/9763-plugin-colored-chat/

O que eu queria era algo assim:
vU4MDQmmqiU.jpg
 

Alguém teria alguma solução?
Obrigado.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Se não me engano já existe um comando nativo no emulador que muda a cor do chat do player e o balão encima também, @fontcolor.

Outra coisa que você pode fazer é usar o sistema de canais, assim criando um personalizado e jogando os players nele, você pode setar a cor que quiser no chat e tudo mais, só não sei se o balão do chat muda a cor também dependendo do canal custom, acho que deve mudar sim...

========================
| 10. Channel Commands |
========================

@join <#channel_name> {<password>}
@channel join <#channel_name> {<password>}

Joins the specified channel.

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

@channel leave <#channel_name>

Leaves the specified channel.

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

@channel create <#channel_name> <channel_password>

Creates a new channel.
'allow_user_channel_creation' must be enabled in '/conf/channels.conf'.

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

@channel delete <#channel_name>

Destroys the specified channel.

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

@channel list
@channel list mine
@channel list colors

'list' displays a list of all public channels.
'list mine' displays a list of channels you have joined.
'list colors' displays a list of all available colors for custom channels.

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

@fontcolor <color_name>

Sets channel chat font color for the invoking character only.
Typing "Normal" returns text to the normal channel color.
If no parameter is given, a list of available colors is displayed.
Option 'ColorOverride' must be enabled for this to take effect.

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

@channel setcolor <#channel_name> <color_name>

Changes the text color of the specified channel.
You must either be the channel's owner or have the channel_admin permission.
All colors are defined in '/conf/channels.conf'.

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

@channel setopt <#channel_name> <option> <value>

Sets an option and value for the specified channel.
You must either be the channel's owner or have the channel_admin permission.

Available options:
-- 'JoinAnnounce <1|0>' : Toggles channel announcement when a new player enters.
-- 'MessageDelay <0-10>' : Sets the delay (in seconds) for messages sent to the channel.
-- 'ColorOverride <1|0>' : Toggles the permission for players to change their color through @fontcolor.

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

@channel ban <#channel_name> <player>
@channel unban <#channel_name> <player>
@channel unbanall <#channel_name>
@channel banlist <#channel_name>

Bans or unbans a player from the specified channel.
'unbanall' clears all bans from the channel.
'banlist' displays a list of all players banned from the channel.

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

@channel bindto <#channel_name>
@channel unbind

Binds or unbinds your global chat with the specified channel, which sends all global messages to the specified channel.

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

Well ~

Share this post


Link to post
Share on other sites
  • 0

Irei testar.
Caso funcione o comando @fontcolor, será que daria pra setar uma variável padrão do emulador que é iniciada quando o mesmo inicia?

#edit

Então, eu testei o comando @fontcolor, e o mesmo não funciona como eu imaginei.
Terei que estudar como criar os canais corretamente.

Edited by HD Scripts

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.