Okay first of all i just want to say that this is different from the other Read function i made
The other one is designed for loading chunks of data this one is designed for loading lines of data
Script Name: Read Line
Script Description Read A Line Of Data
Author: Rampage_TerraniusCompile Test: PassedCore Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/Full Description:This version of read acts differently to normal read and more like readini this version will load all the data on the line starting from where you tell it and ends loading when it detects ascii symbol 13, ascii symbol 10 or the end of the file the difference being that it wont leave garbage data behind like readini does and you only need to add the line you want to add
In short it reads a line of data
works like so:
Read(Variable To Read From, Start Load From Here)
For Example coming from a variable called Blah with this data:
PassWord=14bfa6bb14875e45bba028a21ed38046
LastToSaveToFile=Rampage_Terranius At IP 127.0.0.1
Cash=1
Level=2
Experience=3
MaxExperience=4
Read(Blah, 'PassWord=') will return the value '14bfa6bb14875e45bba028a21ed38046'
I have tested this a little and it seems to work but there may be some bugs if you find any let me know