What do you mean by 'it's 3 lines down'? Do you mean that one sockread will return the recognizable text, and then 3 sockreads later the desired text will be sent? If that's the case, then you just need to use a simple variable counter.
on *:SOCKREAD:sockname:{
var %s
sockread %s
tokenize 32 %s
if (*recognized line* iswm $1-) set %counter 1
elseif (%counter == 3) {
;do something with $1-
unset %counter
}
elseif (%counter > 0) inc %counter
}
(untested)
If this doesn't work with your situation, then you need to provide more information (an example).
-genius_at_work