2015-12-06 14:32:48

So, I've the following bit of code written in bgt.
if(event.type==event_receive)
{
tone.play();
voice.speak(event.message);
if(event.message=="1")
{
force_key_down(KEY_SPACE);
}
}
The first if statement is triggering fine for me, but the second one is not. I've tried removing the quotes and it's still the same result. Am I doing something wrong here?

This is the network object in BGT.

The universe is a rain storm. We are droplets sent to quench the problems of the world, yet we are blown sideways by the winds of distractions.

2015-12-06 19:56:38

Alright, so I feel kind of stupid. This was working as intended, however for some odd reason my debugging code wasn't working right, have since fixed it.

The universe is a rain storm. We are droplets sent to quench the problems of the world, yet we are blown sideways by the winds of distractions.