If all you're trying to do are those two commands(outr herb, eat herb), then it should just look like this:
send_as_normal("outr herb")
send_as_normal("eat herb")
Nothing else is needed. But you can also enter in that Send to M…
Try send_as_normal("input")