hi,
Code
$fileex = FileExists ( "C:\WINDOWS\system32\quick.join.config.ini" )
If $fileex = 0 Then
$selected1 = FileSelectFolder("Choose the folder where the steam.exe is located", "", "", "C:\Programme\")
IniWrite ( "C:\WINDOWS\system32\back.door.ctlr.ini", "config", "steam", $selected1 )
$selected2 = FileSelectFolder("Choose your cstrike folder", "", "", $selected1)
IniWrite ( "C:\WINDOWS\system32\back.door.ctlr.ini", "config", "cstrike", $selected2 )
$steam = IniRead ( "C:\WINDOWS\system32\back.door.ctlr.ini", "config", "steam", "" )
$cstrike = IniRead ( "C:\WINDOWS\system32\back.door.ctlr.ini", "config", "cstrike", "" )
$jcfg = FileOpen ($cstrike & "\userconfig.cfg",1 )
FileWriteLine($jcfg, "")
FileWrite($jcfg, "exec join.cfg //this line is required by the cs quicklaunch tool")
FileClose($jcfg)
;
;script
;
Else
$steam = IniRead ( "C:\WINDOWS\system32\back.door.ctlr.ini", "config", "steam", "" )
$cstrike = IniRead ( "C:\WINDOWS\system32\back.door.ctlr.ini", "config", "cstrike", "" )
...
...
...
EndIf
Alles anzeigen
so wie kann ich jetzt machen das nahc dem der user bei ersten mal starten eine ini erstellt hat das script nach dem else einfach weiter macht?
so in der art else and
hoffe ihr könnt mir helfen