Jump to content
  • 0

Color chat text


Susanoo

Question

Hi,guys how to do to write me login_info.quest color in chat ? whitout eny ring or item Example: in my login_info.quest i have the line

chat ( "Welcome Susanoo" ) ,but in game in chat appear white(normal) ,but how i make to write in chat "Welcome Susanoo"but in green for example ? like theat system with "say_green (....) .

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  • Premium

quest_functions:

say_blue
say_blue2
say_red
say_green
say_gold
say_black
say_white
say_yellow

Questlib.lua

 

function say_blue ( name ) say ( color256 ( 0 , 0 , 255 ).. name .. color256 ( 0 , 0 , 255 )) end
function say_red ( name ) say ( color256 ( 255 , 0 , 0 ).. name .. color256 ( 255 , 0 , 0 )) end
function say_green ( name ) say ( color256 ( 0 , 238 , 0 ).. name .. color256 ( 0 , 238 , 0 )) end
function say_gold ( name ) say ( color256 ( 255 , 215 , 0 ).. name .. color256 ( 255 , 215 , 0 )) end
function say_black ( name ) say ( color256 ( 0 , 0 , 0 ).. name .. color256 ( 0 , 0 , 0 )) end
function say_white ( name ) say ( color256 ( 255 , 255 , 255 ).. name .. color256 ( 255 , 255 , 255 )) end
function say_yellow ( name ) say ( color256 ( 255 , 255 , 0 ).. name .. color256 ( 255 , 255 , 0 )) end
function say_blue2 ( name ) say ( color256 ( 0 , 206 , 209 ).. name .. color256 ( 0 , 206 , 209 )) end

Exemple quest:

 

say_blue ( "Metin2dev" )
say_blue2 ( "Metin2dev" )
say_red ( "Metin2dev" )
say_green ( "Metin2dev" )
say_gold ( "Metin2dev" )
say_black ( "Metin2dev" )
say_white ( "Metin2dev" )
say_yellow ( "Metin2dev" )

:D

  • Good 1
  • Love 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.