Code: Select all
#turbo
Sub Main
:restart
/delay 30 ${Window[TradeSkillWnd].Child[COMBW_CombineButton].Enabled}
/notify COMBW_CombineArea COMBW_CombineButton leftmouseup
/delay 30 ${Cursor.ID}
/call AutoInvAll
/goto :restart
/return
Sub AutoInvAll
:autoinvall
/if (${Cursor.ID}) {
/notify COMBW_CombineArea AutoInvButton leftmouseup
/delay 1
/goto :autoinvall
}
/return
