Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to concatenate this string with variables already set?

Asked by 3 years ago

I am currently creating a team based message that pops up when you join your desired team. The variables declared are:

TeamColor **and **teamName.

The message:

local message1 = [[Welcome, young soldier!<br /><font color=teamColor>You have joined: ]].. teamName .. [[</font>]] 

What I would like:

Normal: Welcome, young soldier!

**TeamColor **Text Underneath: You have joined: **teamName **

However, the text currently shows:

All same color: Welcome, young soldier! <font color=teamColor> You have joined: The Red Team <\font>

Any help would be appreciated.

Answer this question