Script Name: Read
Script Description File Reader
Author: Rampage_TerraniusCompile Test: PassedCore Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/Full Description:Decided to make my own read function as ReadINI leaves coding behind and Copy usually takes alot of time to set up the string positions
Used like so:
Read(location of file,start of copy,end of copy)
for example here is some random file coding from the directory Files/55.ini
Cash=100
Level=1
i would use Read('Files/55.ini','Cash=','Level=')
if you are at the end of a file and there is no values to end on use '' to tell it to use the scripts length instead of a strpos
Date Posted: October 03, 2008, 08:13:11 pm
coding changed to auto detect ascii symbols 10 and 13 that are usually used to indicate next line