SphereCommunity
Message font/color with cliloc - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Message font/color with cliloc (/Thread-Message-font-color-with-cliloc)

Pages: 1 2


Message font/color with cliloc - Rizz - 07-26-2014 10:19 AM

Hi all,

I would like to make the following text

PHP Code:
Message @,,<Def0.Cliloc_blabla

as a normal text (grey normal font) but if i try to change the specification (@,,2) i get only the number of the cliloc.
How to do?


RE: Message font/color with cliloc - Skul - 07-26-2014 10:39 AM

message color @946 is normal gray text, try it out.


RE: Message font/color with cliloc - Feeh - 07-26-2014 10:41 AM

Message <Def0.Cliloc_blabla> ?
you can also try MESSAGEUA (http://wiki.sphere.torfo.org/index.php/Characters)


RE: Message font/color with cliloc - Rizz - 07-26-2014 06:11 PM

(07-26-2014 10:41 AM)Feeh Wrote:  Message <Def0.Cliloc_blabla> ?

<Def0.Cliloc_blabla> is the number of the cliloc; i also mean need the normal font (the same as "message hello world" for example).


RE: Message font/color with cliloc - Ben - 07-27-2014 12:40 AM

so what's wrong with
Message @946,,2 <Def0.Cliloc_blabla> ?


RE: Message font/color with cliloc - Rizz - 07-27-2014 12:56 AM

[Image: immagi10.png]

PHP Code:
Message @946,,<Def0.Cliloc_blabla>
Message This is the right font 

See the difference?
I would like to have the cliloc message with the same font and color as normal message.


RE: Message font/color with cliloc - Extreme - 07-27-2014 01:15 AM

Did you try only @946?


RE: Message font/color with cliloc - Rizz - 07-27-2014 01:42 AM

(07-27-2014 01:15 AM)Extreme Wrote:  Did you try only @946?

Yes and i got a message with the right color but with the cliloc number instead of corresponding text.


RE: Message font/color with cliloc - Feeh - 07-27-2014 03:44 AM

(07-26-2014 06:11 PM)Rizz Wrote:  
(07-26-2014 10:41 AM)Feeh Wrote:  Message <Def0.Cliloc_blabla> ?

<Def0.Cliloc_blabla> is the number of the cliloc; i also mean need the normal font (the same as "message hello world" for example).

Ahh got it.
Well, AFAIR you can't. If is fully client sided
There is two font packages on the client, each one with 9 different fonts styles.
When you send the cliloc, client will pick the UNICODE package and when you send the text, client picks the ASCII one, which contains the old-school fonts you want

I can't remember exactly if you can play with packets to get this working; if it worth the time you can pick the packet table description and see what you get; but again, AFAIR this is not possible


RE: Message font/color with cliloc - Rizz - 07-27-2014 06:26 PM

Sad
Should i write and replace all messages by myself instead of using cliloc?