Thread: loadlines
View Single Post
  #1  
Old 04-23-2006, 09:33 PM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
loadlines

Is it possible to use loadlines to read from say a key in an ini file?
Having a little trouble figuring out how if it is possible, this is what im talking about.

Quote:
Originally Posted by File
[Move]
up=w
down=s
left=a
right=d
[Strafe]
left=q
right=e
An Example.
Then i wanted to load the contents of the file, and only get the values under [Move].

I tried loading the lines and searching for "[Move]' then just isolating the contents under that, trying to find the = signs, and hunt the stuff on each side, but I discovered I am doing that either, wrong, or too complicated.

Can GS2 do this easier?
Reply With Quote