i would like to use this macro, but i need help adding curse weapon every 40 seconds, can anyone help? thanks!
@getenemy 'murderer' 'enemy' 'criminal' 'gray' 'closest'
setability 'secondary' 'on'
attack 'enemy'
pause 300
In need of help ww&curse weapon
- Gargl Kark
- Posts: 484
Re: In need of help ww&curse weapon
2 different methods (I prefer the first, I try to avoid timers wherever possible):
Cast if scrolls are in backpack AND buff does not exist:
Cast with timer:
Cast if scrolls are in backpack AND buff does not exist:
Code: Select all
if @findtype 0x2263 'any' 'backpack' and not buffexists 'curse weapon'
usetype! 0x2263
pause 500
endif
Code: Select all
if not timerexists 'curseWeapon'
settimer 'counter' 0
endif
if timer 'curseWeapon' >= 4000
cast "curse weapon"
settimer 'counter' 0
endif