The script you were given would work exactly as you requested with no alterations required. Replacing the * with 1 simply means that your user level must be 1 or greater for that event to work. If, for example, you've gone and set your userlevel to op, then that event wouldn't work, since op evaluates to 0, which is less than 1.
If you leave the * as is, then it'll run no matter what your user level is, since the * is a wildcard that matches all possibilities.