Well, I made a first attempt at this. I think I need a little debugging help though:
I grabbed the form for switching clans from clan_signup.php and I want to change it slightly so that it has a name I can access with javascript. The problem is that while contains_text() finds the string I want to replace, I can't get replace_string() to actually do the replacement. Usually more eyeballs = faster debugging, so I thought I'd let everyone look at what I have so far. Thanks.
EDIT: I converted the string to a buffer and it worked. Is the replace_string function only good for buffers?
I grabbed the form for switching clans from clan_signup.php and I want to change it slightly so that it has a name I can access with javascript. The problem is that while contains_text() finds the string I want to replace, I can't get replace_string() to actually do the replacement. Usually more eyeballs = faster debugging, so I thought I'd let everyone look at what I have so far. Thanks.
EDIT: I converted the string to a buffer and it worked. Is the replace_string function only good for buffers?
Attachments
Last edited: