It seems like the admin guide just glosses over the topic. And it seems there is no actual scripting guide. Can't look one up with anything. Have I got it wrong? Is there a document somewhere that provides an in-depth scripting discussion? It's great that I can run a script against a node. But what can I put in there? Can I get it to wait till it sees a prompt before it executes another command or disconnects from the node?
What SHOULD I have used as search criteria to find this?