Jump to content

Recommended Posts

Lua.LuaDoString("Logout();");
Thread.Sleep(3 * 60 * 1000);
Keyboard.PressKey(Memory.WowMemory.Memory.WindowHandle, Keys.Escape);

Maybe that works. I guess it should. Might have to call Keyboard.PressKey on new thread.
Such as

private static async void TurnSpiritRezzOff()
{
  await Task.Delay(30000);
  await Task.Run(() => {
    Keyboard.PressKey(Memory.WowMemory.Memory.WindowHandle, Keys.Escape);
  });
}

 

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
×
×
  • Create New...