/patch {
var %dllvalue = $replace($dll(test.dll, GetPatches, 0),$crlf,$lf)
var %i = 1, %t = $numtok(%dllvalue, 10)
while %i <= %t {
msg #lcd $gettok(%dllvalue, %i, 10)
inc %i
}
}

That should work. The problem was that it was all on one line (it's a problem with copy-pasting code in Internet Exlorer).


Spelling mistakes, grammatical errors, and stupid comments are intentional.