why?????????? does it throw an error? or return something other then what is the correct return?
did your try lori's script or Adrenalin's if so what return did you get or what error? be specific. we cannot help you with:
it doesn't work all the times..
as it gives us nothing to go on. show us your code. show us your return, show us an error anything to help you.
i just tried Adrenalin's script on both hop and join works fine. you just have to change the echo to /msg or /say or whatever you want to do. If it is not working try it is a fresh copy of mirc.