You could put sparta's code in a new remote file or combine it with another onjoin event you already have.