thankies and thats got it. shame the code has had to evolve so complex though compared to the simplicity i originally did.
just goes to show that using basics and mirc doesnt always work out