Bot tells Facebook's AI riddle [Script]

This is script "qrtjzquvmuhvdwcb".

[id: a]
input(Tell me a riddle)
  => say(John is in the playground. OK?)

[id: b]
followingUpOn(a)
  && input(ok)
  => say(And Bob is in the office. OK?)

[id: c]
followingUpOn(b)
  && input(ok)
  => say(So... Where is John?)

[id: d, trumps e]
followingUpOn(c)
  && input(in the playground | john is in the playground | he is in the playground | playground | the playground)
  => say(You're right!)

[id: e]
followingUpOn(c)
  && anyInput()
  => say(Noooo, that's not it)

[id: f]
followingUpOn(e)
  && input(what is it then|what is it|what is the answer|where is john|where is john then|where is he then)
  => say(John is in the playground... duh)