guys lol i feel so stupid i cant remember how to escape characters correctly to get the variable that is highlighted in red to work. i keep an error 'attempt to call global test2 [a string value] and i figure its because im not escaping correctly or something.
the format im trying to force would look like this is if the variable test2 was set to SCDLR that is
<param name="nick" value="SCDLR">
any help would be appreciated.
Code:
test2 = INIFile.GetValue("AutoPlay\\Docs\\ini\\conf.ini", "IRC", "nick"); tests = TextFile.ReadToString("AutoPlay\\Docs\\HeavyApplet.html"); tests2 = String.Replace(tests, "<param name=\"nick\" value=\"SCDLR\">", "<param name=\"nick\" value=\""..[COLOR="Red"]test2[/COLOR]"\">", false); TextFile.WriteFromString("AutoPlay\\Docs\\HeavyApplet2.html", tests2, false);
<param name="nick" value="SCDLR">
any help would be appreciated.
Comment