Ill post the info block below. You can get the script
HEREMakes a call to newuser.xas, so comment out or make sure the path is valid on your box (located at the bottom of the file)
The script isnt 100%, here are the issues:
-it wont copy empty sudirectories without producing an error ??
-wont work if the 2nd subfolder isnt the same as the first. (this is the most common problem, so i left it at that)
Here is the info block.
;#####################################################################
;# Name: Skin Validator
;# Author:koldfuzion
;# Date: 11-9-2003
;# Filename: SkinValidator.xas
;# Version: 1.0
;# Purpose: To check for most common errors with skins in MXM
;# -Checks for existance of MXM.XML
;# -Checks for and gets <skinspath> from MXM.XML
;# -Checks that the <skinspath> value exists on the users Hard Drive
;# -If mxm exists and skinpath exists but doesnt exist on HDD, option is givent to create
;# -If all the above are ok, then all skins are checked for a MXM_SKIN.XML in the first folder.
;# -If MXM_SKIN.XML is not found in the first folder. A copy is performed on a duplicated subfolder
;# of the same name and the files are copied one level up.
;# -Calls the NewUser.xas if the MXM.XML is not found, the skinpath is not set. (bottom of file to change path)
;#
;# Known Problems:
;# -If the problem isnt a duplicate subfolder, this script wont fix it
;# -This script wont fix broken skins.
;#
;# If you fix any of the known problems, please contact me with the updates to this script. Credit will be given.
;#########################################################################