Logic help please

Started by Draemonaurious on

Topic category: Advanced modding

Last seen on 05:11, 28. Aug 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Logic help please

Getting into the logic stuff. I have an IF statement and a bunch of "AND"s. Can I use more than one "AND"? Can I put an "AND" inside another "AND"? So far it's not working. What are the limits of using multiple "AND"s?

IF this AND this AND this AND this is true

DO this

 

I've structured it like this...

 

 ^IF   -[ -[ -[this]  (AND)  -[this] ] (AND) -[ -[this]  (AND)  -[this] ] ]

  DO  ^[this]

 

But it doesn't seem to be working. I hope that isn't confusing.

Last seen on 13:50, 6. Apr 2024
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Please, send a screen of…
Wed, 05/06/2020 - 07:19

Please, send a screen of your procedure.
And yes, you can have a "AND" inside an other "AND", itself inside an other "AND", and same for "OR".

Last seen on 05:11, 28. Aug 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured out the problem. I…
Sun, 05/10/2020 - 01:06

I figured out the problem. I was using the procedure on a spawned block. When placing the same block it started working fine. I also found out there is a different block for surface air and cave air for 14.3.