It should go in a trigger or a script. Definitely not an init line.
Since it doesn't seem to work anyway, instead of player1 in your main script have a variable - lets say "commander" - carry out all the operations.
So, in the main script, replace player1 with commander. At the top of the script add the line
commander = leader grpOne
(assuming you have named player1's group grpOne, that is)
Again, just a suggestion, no idea if it will work or not.