Web Dump Irssi: Interactively read user input from scripts
The question script isn’t a script that I actually use, it was more like a demo written by someone called Cydex to show how you can make a script that asks the user a question — by overwriting the send command and send text handlers.
There are a few problems with this though: how do you save the text user has already inputted when the question arises? How do you restore it?