Here is one of you scripts, DoAntiVirus.kix
Code:

;:DoAntiVirus



$lblJob.Text = $Blanker
$lblJob.Text = "Updating Antivirus... "

$lblTask.Text = $Blanker

$LSD = @LServer + "\Netlogon"
IF Exist("$LSD\patches.kix")
Call "$LSD\patches.kix"
endif

Function DoProgress($Step)
DoProgress(5)
EndFunction
;Return


Converted correctly this is the way it should look:
Code:

Function DoAntiVirus()
$lblJob.Text = $Blanker
$lblJob.Text = "Updating Antivirus... "

$lblTask.Text = $Blanker

$LSD = @LServer + "\Netlogon"
If Exist("$LSD\patches.kix")
Call "$LSD\patches.kix"
EndIf

DoProgress(5)
EndFunction



Then in these lines:
Code:

Call "$LSD\prep.kix"
Call "$LSD\MapDrives.kix"
Call "$LSD\DoAudit.kix"
Call "$LSD\LogUser.kix"
Call "$LSD\DoAntiVirus.kix"
Call "$LSD\time.kix"
Call "$LSD\snd.kix"



you have this line:
Code:

Call "$LSD\DoAntiVirus.kix"


Change it to:
Code:

DoAntiVirus()


So those lines will now look like:
Code:

Call "$LSD\prep.kix"
Call "$LSD\MapDrives.kix"
Call "$LSD\DoAudit.kix"
Call "$LSD\LogUser.kix"
DoAntiVirus()
Call "$LSD\time.kix"
Call "$LSD\snd.kix"



Do the same thing with the other scripts.

a function will only appear once in a script, it is used many times over, so this function:
Code:

Function DoProgress($Step)
$prgProgress.Value = $prgProgress.Value + $Step
EndFunction


Will only appear once in you script. Functions are never defined inside other Functions, they can be called but never defined.
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)