DirtyBanditos Posted December 30, 2004 Share Posted December 30, 2004 Hi all I have test for adding this code but hi write not the text from the input box to the ini files wat wat i made wrong in this exampel=?Thx for help any. $Cdkey = InputBox("DirtyBanditos", "Please enter your Cdkey Message.", "DirtyBanditos test1", "") IniWrite( @ScriptDir & "\DirtyBanditos test.ini", "config", "Cdkey", 1 ) Link to comment Share on other sites More sharing options...
Einzeinbleth Posted December 30, 2004 Share Posted December 30, 2004 Try $Cdkey = InputBox("DirtyBanditos", "Please enter your Cdkey Message.", "DirtyBanditos test1", "") IniWrite( @ScriptDir & "\DirtyBanditos test.ini", "config", $Cdkey, 1 ) Link to comment Share on other sites More sharing options...
DirtyBanditos Posted December 30, 2004 Author Share Posted December 30, 2004 Try<br />$Cdkey = InputBox("DirtyBanditos", "Please enter your Cdkey Message.", "DirtyBanditos test1", "")<br />IniWrite( @ScriptDir & "\DirtyBanditos test.ini", "config", $Cdkey, 1 )<br /><{POST_SNAPBACK}>Hi Einzeinbleth Big thx for fast help^^i test it Link to comment Share on other sites More sharing options...
DirtyBanditos Posted December 30, 2004 Author Share Posted December 30, 2004 (edited) Try$Cdkey = InputBox("DirtyBanditos", "Please enter your Cdkey Message.", "DirtyBanditos test1", "") IniWrite( @ScriptDir & "\DirtyBanditos test.ini", "config", $Cdkey, 1 )<{POST_SNAPBACK}> hi Hm no hi write $Cdkey in the ini but not the Test from the input box=?wy the written ini file,but i mis the test from the box wat is my prob=?[config]$spam=1 Edited December 30, 2004 by DirtyBanditos Link to comment Share on other sites More sharing options...
Einzeinbleth Posted December 30, 2004 Share Posted December 30, 2004 Sorry, i made mistake too this works perfect: $test=inputbox('test', 'test', 'test') $sFile= @SCRIPTDIR & '\input.ini' iniwrite($sFile, 'test', 'test', $test) And the ini file was created: [test] test=test Link to comment Share on other sites More sharing options...
DirtyBanditos Posted December 30, 2004 Author Share Posted December 30, 2004 Sorry, i made mistake too this works perfect:$test=inputbox('test', 'test', 'test') $sFile= @SCRIPTDIR & '\input.ini' iniwrite($sFile, 'test', 'test', $test)And the ini file was created:[test] test=test<{POST_SNAPBACK}> Big thx your Exampel wörks great for me^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now