Thread: text files
View Single Post
  #9  
Old 10-27-2006, 09:15 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by Chompy View Post
I tried

PHP Code:
temp.obj.loadvars("levels/testfiles/objects.txt");
temp.obj.replace(0"test");
sendtorc("/refreshfilelist"); 
the first var/member of the file is "testing",
but when I open it, its still "testing" when its suppose to be "test"

but isn't obj.replace(index, string); for arrays?

btw, anyone knows?
Ok, now paste the var's inside of the file.
__________________
Reply With Quote