When I read your question I thought this would be a good thing to do so I ran a google search for scripts which lead me to macros.
In Pronterface go to Settings -> Macros -> new
Enter a macro Name example multiLine
Enter your line commands
Save
Got to add custom button
Add button with command = name of macro
Clicking button then sends info in maco