Jump to content

Help Making a Script


Recommended Posts

Hi, I'm very new to designing scripts, and I'm trying to make one for a text-based rpg I play(kinda lame, I know, but I like it). I haven't made it too far yet and I've already hit a bump. I'm trying to design a macro to log me in, and click away(it's actually not against any posted rules for this game, and the maker has no issues with it), so far I can get it to log me in but I cannot figure out how to get it to click the fight link, I've tried the IELinkClick function but it doesn't seem to work. If you would like to check out the code the site address is http://www.lordsoflords.com/shadow/, making a character takes less then a minute and requires no activation of any kind. Any help on this would be fantastic.

EDIT - The error I get when I try to use the link click function is

_IELinkClickByText ($oIE, "Fight" [, $i_index = 1])

_IELinkClickByText (^ERROR

Error: Variable being used without being declared.

Edited by joey2stone
Link to comment
Share on other sites

i downloaded the debugger, which helps thanks, and the fight link i have to click to initialize fights is actually a script and not a link at all, so now what I'm wondering is how can I get autoit to recogize this bit of script and click it?

and yeah, to the fight text you would have to be logged in

Edited by joey2stone
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...