Hey! Right now in my refresher I'm using OpenURL to load up a page and put the contents into a textbox, then InStr to find out if there's a random event. However, I can't seem to find a way to get the text from the event itself. For example, it may say: "Something has happened! Sticky the Slap-Happy Stick handed you a Darigan Paintbrush!" roll Now, InStr works because "Something has happened!" never changes. But how would you go about getting the rest of the text for the log? If you help me with this you will get credit in my refresher and maybe some cash if it ever goes payware.
I'd use a regex.. but I don't think regexes are built into vb6 like they are vb.net, but you can still use them with addons i think. I found this on google, which explains how to use regex in vb6; http://www.regular-expressions.info/vb.html I could make up a regex pattern for it, but I'd need the html of a page with a random event on it