Well, I'm going to go on a limb here and try to help, since no one else has.
First off, I believe this belongs in coding help, or general modification help, but I am not sure.
Second, I'm no scripter, so all I can say is to read the script from a semi auto, and see if you can spot the difference.