Try this:
text " + code + " more text
where code is, indeed, the code.
(If you want to know: In the trigger script that will be written as
trSomeCommand("text " + code + " more text");
But that's facultative.)
I'm not sure if that works though.
A condition is not a trigger.
An effect is not a trigger.
A trigger is a combination of one or more conditions and effects.
It causes effects to happen if and when conditions are met.
Period.