Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to grab specific value from .ini?


jsorr2
 Share

Recommended Posts

I'm curious, if I had this writting in the ini file:

[1]

Stats: 6,7,8,9,10

And I wanted to call them individually into the server,

strength = 1st value,

Endurance = 2nd value

Intelligence = 3rd value

etc..

How could I grab the individual values?

```

Class(i).stat(Stats.Strength) = Val(GetVar(filename, "" & i, "Stats", ????))

Class(i).stat(Stats.Endurance) = Val(GetVar(filename, "" & i, "stats" ?????))

```

thanks ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...