Thanks again, but I am currently looking to implement variations of the following in several places in my main script,
Code:
 
call Function Setproxy() + "ssq06setoptions.kix"



Which points to this in the ssq06setoptions.kix, this script will later have several functions, but currently only has one.

Code:

Function Setproxy()
WriteValue('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings',"ProxyEnable",1,REG_DWORD)
WriteValue('HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings',"ProxyServer","proxy:80",REG_SZ)
EndFunction
Exit 1



I know I am doing something wrong, the kixtart logon complains it cannot find an EndFunction in the second script re the Setproxy function.