Take a look at the KiXtart Manual under READLINE(). Read the lines until the desired line, then use LEFT/RIGHT/SUBSTR/INSTR to parse out the IP address.
_________________________
There are two types of vessels, submarines and targets.