Going on the assumption from your code that $did(level.load,1).seltext in the ruser command represents the nickname, couldn't you just specify the address so it does not have to do a userhost lookup?