Welcome, Guest. Please login or register.
Did you miss your activation email?
November 25, 2024, 01:48:48 pm *

Login with username, password and session length
Pages: [1]
Print
Author Topic: UC2 - Anguish Augment Handing  (Read 3928 times)
s0rcier
Newbie
*
Posts: 38


View Profile
« on: November 18, 2018, 03:58:36 pm »

I wrote a little somethings to turn your anguish augments for uc2... works well 99% of the times.... just need to be close to the augment beholder guy and do /mac uc2 it will turn all anguish augment found for ya!

uc2.mac
Code:
Sub Main
    /declare eName[21] string local

    /varset  eName[1] Anguish Augment Ear
    /varset  eName[2] Anguish Augment Head
    /varset  eName[3] Anguish Augment Face
    /varset  eName[4] Anguish Augment Neck
/varset  eName[5] Anguish Augment Shoulder
/varset  eName[6] Anguish Augment Arms
/varset  eName[7] Anguish Augment Back
/varset  eName[8] Anguish Augment Wrist
/varset  eName[9] Anguish Augment Hands
/varset  eName[10] Anguish Augment Finger
/varset  eName[11] Anguish Augment Chest
/varset  eName[12] Anguish Augment Legs
/varset  eName[13] Anguish Augment Waist
/varset  eName[14] Anguish Augment of HP
/varset  eName[15] Anguish Augment of HP Regen
/varset  eName[16] Anguish Augment of Mana
/varset  eName[17] Anguish Augment of Mana Regen
/varset  eName[18] Anguish Augment of Damage Shield
/varset  eName[19] Anguish Augment of Shield
/varset  eName[20] Anguish Augment Feet


    /squelch /target "Augment Collector"
    /delay 5s ${Target.CleanName.Equal[Augment Collector]}
    /say accept

    /declare i int local 0
    /declare e int local 0
    /declare c int local
    /declare n string local

:nextitem
/varcalc e ${e} + 1
/if (${e}<21) /goto :turnmore
    /if (${Window[GiveWnd].Open}) {
        /notify GiveWnd GVW_Give_Button LeftMouseUP
        /delay 5s !${Window[GiveWnd].Open}
/endm
}


:turnmore
/varset n ${eName[${e}]}
/varcalc c ${FindItemCount[=${n}]}
/if (!${c}) /goto :nextitem

/delay 1
/if (${Cursor.ID}) {
/autoinv
/delay 5s !${Cursor.ID}
}

/ctrl /itemnotify ${FindItem[=${n}].InvSlot} LeftMouseUp
/delay 5s ${Cursor.ID}
/click left target
/delay 5s !${Cursor.ID}
/delay 2s ${Window[GiveWnd].Open}

/varcalc i ${i} + 1
/if (${i}>3) {
/notify GiveWnd GVW_Give_Button LeftMouseUP
/delay 5s !${Window[GiveWnd].Open}
/varcalc i 0
/delay 1s
}

/goto :turnmore

/return

enjoy Hardtime!
Logged
Sarthin
Administrator
Legend
*****
Posts: 1036

Common sense is not so common


View Profile
« Reply #1 on: November 18, 2018, 05:42:14 pm »

Happy times, thanks mate Wink
Logged

Pages: [1]
Print
Jump to:  

Recent

Stats

Members
  • Total Members: 6156
  • Latest: Rin1
Stats
  • Total Posts: 65127
  • Total Topics: 5066
  • Online Today: 407
  • Online Ever: 8678
  • (December 19, 2022, 02:32:09 pm)
Users Online
Users: 1
Guests: 354
Total: 355
TinyPortal v1.0 beta 4 © Bloc