To check an IRC (Internet Relay Chat) service,
you can send the command
and the expected response from the IRC service is:
Name: IRC; Port: 6667;
Note: You can use Telnet to find the proper value for SimpleExpect, or an Expect string for a particular service. Packet Capture tools can also be very useful.