hehe, thanks AgentMike, i alwasy seem to forget the : after the ON events
LocutusofBorg fixed it for me, but i will consider your options too, especially the second bit.
Wasnt sure about the $group and assumed it was needed, checked the help file and read it and the re-read it, maybe i got confused as i have never used this set of event before in a script i have made.