A problem with my code

retroPacifist
10 Nov 2016, 09:32In my game, I have the line of code:
"stealthyHunter [SH]</font color> began pestering " + (player.chumhandlefirst) + (player.chumhandlelast) + " [" + (player.chumhuandleinitials) + "]"
It works as a message, but the variables/attributes don't work. It doesn't work as an expression?
The Pixie
10 Nov 2016, 11:17Code looks fine (if hard to read!). Are those attributes actually set? If using the off-line editor, you can go in game, and click the debugger button, and check if the player object has those attributes set to something.

retroPacifist
10 Nov 2016, 12:59My variables are all set, but when I paste the code into a message, it doesn't set the attributes and attributes, just bracketed text. But when I put the code into an expression, it give me an error because of the < or > or something.
The Pixie
11 Nov 2016, 08:03Edit: See other thread