Hi
this is a skill buffer examlpe just to show how to make some basic key sending in Diablo 2, might work in other games as well
IF NOT A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ExitApp } #Persistent #SingleInstance, force SetWorkingDir, %A_ScriptDir% WheelDown::Send {F1} WheelUp::Send {F4} §:: BuffSkills(500,300) return ^E:: AutoBuffSkills(30000,500,300) ; All ms 60000 = 1/ minute, 405600 = vessel of retrubution timer, 156000 = Merkabah, 20000 =Dragon return ^Space:: AutoPP("Hello Party") return ^MButton:: AutoPP("Hi PP") BuffSkills(500,300) return AutoPP(msg){ Send, {P} Sleep, 500 send, {Enter} Sleep, 200 Send, %msg% Sleep, 200 send, {Enter} click,299,163 Send, {P} } return AutoBuffSkills(skill_timer,delay,small_delay) { #IfWinActive, Diablo II BuffSkills(500,300) ToolTip, Autobuff is ON,0,0 SetTimer, AutoBuff, %skill_timer% ToolTip, Autobuff is ON,0,0 return AutoBuff: ToolTip, Autobuff is ON,0,0 BuffSkills(500,300) return } return BuffSkills(delay,small_delay) { ToolTip, Buffing Skills...,0,0 #IfWinActive, Diablo II Send, {F7} Sleep, %delay% Click, Right Send, {F8} Sleep, %delay% Click, Right Send, {F6} Sleep, 600 Click, Right Send, {F1} Sleep, %delay% Click, Right Sleep, %delay% Send, {F4} Sleep, %small_delay% Click, Right Sleep, %small_delay% Click, Right Sleep, %small_delay% Click, Right Sleep, %small_delay% Click, Right Sleep, %delay% Send, {F1} Sleep, %small_delay% Click, Right Send, {F4} ToolTip } return