Smart Logic Variables

Post here if you cannot find a better category
Post Reply
eythorsig
Posts: 2
Joined: Tue Feb 04, 2025 5:38 pm

Hello,

Does anyone know if it's possible to make an IF statement variable that works like:
If this, say this. If that, say that. If both this and that, say both.

Example: Let's say you have two rooms called Big Room and Small Room.

If Big Room, say big. If Small Room, say small. If both the big and the small room, say both.

I tried the following but it doesn't work and the logic isn't right:

Code: Select all

[IFIN:Big:[ROOMNAME]:|[IFIN^Small^[ROOMNAME]^small~big]|both]

Thanks!
eythorsig
Posts: 2
Joined: Tue Feb 04, 2025 5:38 pm

I figured it out. This works:

[IFIN:Small:[ROOMNAME]:[IFIN^Big^[ROOMNAME]^Both~Small]|Big]

Thanks.
Post Reply