It works for me. Make sure there aren't any other on JOIN events in the same script file. Try making a new script: alt+r, new>file. Then paste that line of code in the new file.

-genius_at_work