Thread: text files
View Single Post
  #8  
Old 10-27-2006, 03:18 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
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?
__________________

Last edited by Chompy; 10-27-2006 at 05:34 PM..
Reply With Quote