Blockland Forums > Modification Help

Need help with color of messageall now...

Pages: << < (2/5) > >>

Swollow:

ok i always have the problem where i can't seem to get the color thing right and it make it so the addons doesn't work
messageall('',"\c3SPC %client.getPlayerName() @ ":" "\c2SPC %message");
What am i doing wrong here

Desolation:


--- Quote from: swollow on April 25, 2011, 11:52:11 PM ---
--- End quote ---

messageall("\c3" @ %client.getPlayerName() @ ":\c2" SPC %message);

Swollow:


--- Quote from: Desolation on April 26, 2011, 01:07:18 AM ---messageall("\c3" @ %client.getPlayerName() @ ":\c2" SPC %message);

--- End quote ---
Didn't work

Nexus:

Learn the basics of using strings.  Here is a quick tutorial:
you cannot do "words" "more words" because the game doesnt know how to combine them.  Between these you need one of the following:
 - @ (combines)
 - SPC (space)
 - TAB (next tab)
 - the one for next line I forget
These will not do anything if you place them inside of the quotes

This also applies to variables
"string" %variable
"string" SPC %variable

If you do have two consecutive strings, such as "hi my name" SPC "is bob", you can always do "hi my name is bob" because there is no reason to make it more complicated than you need to

Greek2me:


--- Quote from: Nexus on April 26, 2011, 07:20:43 PM --- - the one for next line I forget

--- End quote ---
NL

Pages: << < (2/5) > >>

Go to full version