Blockland Forums > Help
Input > Another Name for Stuff VCE
Goth77:
Ok, so I used chat message and it works...however the name is displayed vertically because I can't use more than 2 named brick variable displays on one brick. So I just did one message for each letter.
Ouch, brain melting. How to make ABAB (all separate brick vars) turn into a single variable with the same name? VCE can SET variables as a single letter or word, but it cannot ADD B to the already existing A with the same variable FAKENAME, instead it will just turn A into B. This is confusing, I know D:
Goth77:
Ok, so the system works pretty well. I am using 7 letters, and they all show up in chat and on the blue plates correspondingly in clicked order. What I need now is to take each separate variable from the blue plates and somehow convert them to a single-same-variable on the client or onto another brick. So all those separate letter variables will become one variable so that <var:cl:FakeName> would = CABBACA
Fun Fact: Each clickable brick from A-Z is 26 lines apiece!
I hope this is making more sense now :P
Zeblote:
--- Quote from: Zeblote on January 30, 2013, 02:38:06 PM ---Do like this:
onActivate Client VCE_modVariable [Blah] [Set] [<var:cl:Blah>C]
To add a C to the var Blah
--- End quote ---
Added brackets to clarify
Goth77:
--- Quote from: Zeblote on January 30, 2013, 03:53:51 PM ---Added brackets to clarify
...to ADD C to the var Blah
--- End quote ---
Problem: I CANT ADD THE C VARIABLE, it can only set it. Adding any letter to a variable only sets it back to 0 instead of adding the number. I know VCE like a forgetin boss and this one gots me el' stumperood.
I got everything pretty much down pat, except for the converting of multiple variables from different bricks into one same-lettered-variable on one brick, and have it display as a whole string. * Main problem *
Zeblote:
--- Quote from: Goth77 on January 30, 2013, 04:16:31 PM ---Problem: I CANT ADD THE C VARIABLE, it can only set it. Adding any letter to a variable only sets it back to 0 instead of adding the number. I know VCE like a forgetin boss and this one gots me el' stumperood.
I got everything pretty much down pat, except for the converting of multiple variables from different bricks into one same-lettered-variable on one brick, and have it display as a whole string. * Main problem *
--- End quote ---
Put the event on a brick and click it a few times before trying to argue.
Notice the variable replace before the C?
It takes the current value of Blah, then adds a C to the end.