Jump to content

Recommended Posts

Posted (edited)

Hi,

I'm trying to write this script for the game elder scrolls oblivion that spams actions for me by spamming a key.

Here's the code so for:

WinWaitActive("Oblivion")

$i = 0
While $i < 10
    send("c")
    ;sleep(1000)
    ;$i += 1
WEnd

It works fine if I'm just spamming a key, but as soon as I try to increment i it either doesn't run at all in the game or sends the key once or twice and stops. It also seems to sleep for random amounts of time instead of the entered time. It works fine if I just send it to a text file. I eventually want to have something that does multiple key sends and clicks but that fails even worse than this. Any ideas?

Thanks

Edited by Kadkins
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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