Jump to content

read multiple items from an ini..


Recommended Posts

ok heres what i need to do.. read a whole section of items and see if they are eqiual to 1.

if they are equal to 1 then i see to see if the item (stuff from diabloII) name currently on the ground..

my problem is..

i dont understand how to read the whole section then check and see if the item is there..

i know i have to do:

IniReadSection(@ScriptDir & "items.ini", "items")

(ini file:)

[items]

; 1 meaning keep it

; 0 meaning leave it

shako = 1

warhat = 0 "meaning leave it"

sallet = 0

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...