when you attack with keys and drink the stamina with keys then you can use simple sendkeys .
Try this to add to your code
Code:
While 1
Send("{SPACE}") ;This was the key For Attacking when you attack with keys i think space key
Sleep(1000)
Send("1") ; Skill & Slot bar i dont know if that exist in the game the code press number 1 i think when you have stamina Pot on 1 then it will work.
Sleep(1000)
Wend
; The code was simple you can change it easy.
For more you can look here its a good tutorial: