Alster Posted January 3, 2009 Author Share Posted January 3, 2009 Example; If I wanted this -[Test]Value = 0To turn into this[Test]Value = 1Could sadscript do it? And if so could anyone lend me the code? Link to comment Share on other sites More sharing options...
dragonlord52 Posted January 3, 2009 Share Posted January 3, 2009 Here, this link tells you all the commands. The command is PutVar BTW[http://www.touchofdeathforums.com/smf/index.php?topic=8502.0](http://www.touchofdeathforums.com/smf/index.php?topic=8502.0) Link to comment Share on other sites More sharing options...
Wing Posted January 3, 2009 Share Posted January 3, 2009 ``` Call putvar("Accounts/Username" & GetPlayer(index) & ".ini", "PLAYER", "Value", 1)```My lame guess Link to comment Share on other sites More sharing options...
Zuleloan Posted January 3, 2009 Share Posted January 3, 2009 @Wing:> ```> Call putvar("Accounts/Username" & GetPlayer(index) & ".ini", "PLAYER", "Value", 1)> ```> My lame guesscloseCall putvar("Characterextras/" & GetPlayer(index) & ".ini", "PLAYER", "Value", 1)Accounts arent inis anymore Link to comment Share on other sites More sharing options...
Wing Posted January 3, 2009 Share Posted January 3, 2009 He didnt say EE 2.7 =D Link to comment Share on other sites More sharing options...
Alster Posted January 3, 2009 Author Share Posted January 3, 2009 I meant 2.7 :cool:So this would change the .ini in the folder of the person who is playing?EG;George logs on and steps on a tile which runs this script. The .ini in his accounts folder is edited but not everyones - so for Tom, Bill & Brian the value would remain 0? Link to comment Share on other sites More sharing options...
Wing Posted January 3, 2009 Share Posted January 3, 2009 Yes =D Link to comment Share on other sites More sharing options...
Alster Posted January 3, 2009 Author Share Posted January 3, 2009 Excellent … it's all falling into place. Link to comment Share on other sites More sharing options...
dragonlord52 Posted January 3, 2009 Share Posted January 3, 2009 if I'm not mistaken the slash should be a backslash, lol Link to comment Share on other sites More sharing options...
Akselj Posted January 3, 2009 Share Posted January 3, 2009 What way the slash is does not matter. 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