How to compare variables?

I am building a small text game and I would like to compare two strings, one that the user has inputted and one I retrieved from database.
I see that the logic block can only compare variables against fixed strings.
Can this be done?

2 Likes

Definitely :partying_face:
Let’s divide this into two parts:

  1. You can use the database action node and fetch a string from the database.
  2. Write a function to compare a variable and a string.