Constantly:
Code:
While 1
Send("t")
Sleep(6900)
Send("{ESCAPE}")
MouseClick("left", 2998, 642)
Sleep(3900)
MouseClick("left", 256, 457)
WEnd
whenever you press Ctrl+T:
Code:
Global $hotkey = 0
While 1
Sleep(100)
If WinActive("Diablo III") Then
If $hotkey = 0 Then
$hotkey = 1
HotKeySet("^t", "_myfunc")
EndIf
Else
If $hotkey = 1 Then
$hotkey = 0
HotKeySet("^t")
EndIf
EndIf
WEnd
Func _myfunc()
Send("t")
Sleep(6900)
Send("{ESCAPE}")
MouseClick("left", 2998, 642)
Sleep(3900)
MouseClick("left", 256, 457)
EndFunc ;==>_myfunc
Untested, but should work.