Add support for slots in conditionals
StvnWthrsp opened this issue ยท 2 comments
I would like to be able to use slots in conditionals. For example, I was trying something like this, wanting to clear out a machine when the inputs have ran out. I received an error on the token SLOTS expecting the tokens THEN, AND, OR, ':'
EVERY 20 TICKS DO
IF
NOT source HAS EQ 1 some_item SLOTS 0 then
INPUT * FROM source
OUTPUT * TO dest
END
END
Try "IF NOT source SLOTS 0 HAS..." I think it might already be supported, can't remember