Help with plugins

I created this TCP script to send IP commands to my Controlart module. I was able to pull it as a plugin and so far I haven’t had any problems. Should I bind “TerminalInput” to the button?
Teste controlart 175 (1).hrp (131.0 KB)