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 Mud box: outr herb | eat herb. Same thing.
Answers
Try send_as_normal("input")