Is there anything else like expect.rb/RExpect.rb?

You can’t do conditional patterns in expect.rb and the buffer in
RExpect.rb needs a lot of work (it’s in beta so that’s expected). Does
anybody know of any other scripts out there with similar functionality?