Thanks it worked, i did also encounter a problem while testing it with a clone mirc of me, basically what i had setup was my bot celtic^star was on auto voice then i decided to test the code you gratefully made for me, and for some reason your code went into the Users section and the autovoice code i had in there already seemed to have disappeared, cos it was replaced with yours, is there a way i can fix that.
I would imagine i could manually add them to the user list but that would take longer then just simply using the nicklist popups.