You could try creating a bool variable and a branch node; using it like a switch. So when 1 is pressed you could set the bool to true, if it’s true print the strings. Then when 2 is pressed you could set the bool to false so the print strings would stop.
I’m not sure about the pause functionality, i’ve never used it, but I imagine you could say ‘if bool is false - pause’ then when 1 is pressed again and sets the bool to true - unpause/play.