Changed autoscriptotherplayers() lookup prepension to -foreach instead of -per