Not sure what you did. As Jens said, please post your script so we can see what might be going on.

I ran the script provided and it worked just fine for me.

Make sure you have KiXtart 4.22 and run this from a DOS console and it should print out the computers for you.

Code:
Break On
$domain = getobject('WinNT://' + @domain)
$domain.Filter = split('Computer')
$Index = 0
for each $computer in $domain
If $Computer
? ' ' + $Index + ' ' + $computer.Name
$Index=$Index+1
EndIf
Next