Bard attack script
2 posters
UO Macros :: UO Forums :: UO Talk :: UOsteam Macros
Page 1 of 1
Bard attack script
I'm looking for a script that with one hot key I will be able to make two monsters attack each other. I know its possible I used to have one but now no longer do as I changed from razor to uo steam I also us EZ-UO along with steam for bandaging and mining /lumberjacking.
The DUDE- Posts : 3
Join date : 2015-04-14
Age : 57
Location : USA
Re: Bard attack script
however if you wanted something more complicated you would have to create a pushlist... ill see if i can find one
if @findtype 0xeb3 'any' 'backpack'
usetype! 0xeb3 'any' 'backpack'
useskill 'Provocation'
waitfortarget 3000
targettype '0x70'
waitfortarget 3000
targettype '0x71'
pause 10000
if @findtype 0xeb3 'any' 'backpack'
usetype! 0xeb3 'any' 'backpack'
useskill 'Provocation'
waitfortarget 3000
targettype '0x70'
waitfortarget 3000
targettype '0x71'
pause 10000
Re: Bard attack script
//Name: Halygon's Dual Mob Provoke Macro
//Description: This macro selects the two nearest mobs and provokes them upon one another. No selection is required, only set this macro to a hotkey. Be aware that you do not have control over who it targets if multiple mobs are equally in range.
//Create Instrument List if it does not exist
if not listexists 'instrumentlist'
@createlist 'instrumentlist'
endif
//Clear list -- in case you have added additional instrument types
@clearlist 'instrumentlist'
//Add below different types of instruments to use -- Common Ones are Added already
//Standing Harp
@pushlist 'instrumentlist' 0xeb1
//Lap Harp
@pushlist 'instrumentlist' 0xeb2
//Lute
@pushlist 'instrumentlist' 0xeb3
//Drum
@pushlist 'instrumentlist' 0xe9c
//Tambourine
@pushlist 'instrumentlist' 0xe9d
//Tambourine with red tassle
@pushlist 'instrumentlist' 0xe9e
//Select an instrument automatically to use
for 0 to 'instrumentlist'
@findtype instrumentlist[]
@setalias 'instrument' 'found'
endfor
//Clear Mobs
unsetalias 'provoke1'
unsetalias 'provoke2'
//Get first mob
if getenemy 'gray' 'enemy' 'nearest'
@setalias 'provoke1' 'enemy'
else
sysmsg 'No Mobs within range to provoke'
endif
//Get Second mob - because 'nearest' is used, it will not select the same mob as above as nearest cycles through the two closest mobs
if getenemy 'gray' 'enemy' 'nearest'
@setalias 'provoke2' 'enemy'
else
sysmsg 'No Mobs within range to provoke'
endif
//Clear journal to prepare for instrument check
clearjournal
useskill 'Provocation'
pause 1000
//If instrument has not been used since login, this will find the message asking to select an instrument and target the pre-selected instrument from above
if @injournal 'What instrument shall' 'system'
target! 'instrument'
endif
waitfortarget 1500
target! 'provoke1'
waitfortarget 1500
target! 'provoke2'
//Description: This macro selects the two nearest mobs and provokes them upon one another. No selection is required, only set this macro to a hotkey. Be aware that you do not have control over who it targets if multiple mobs are equally in range.
//Create Instrument List if it does not exist
if not listexists 'instrumentlist'
@createlist 'instrumentlist'
endif
//Clear list -- in case you have added additional instrument types
@clearlist 'instrumentlist'
//Add below different types of instruments to use -- Common Ones are Added already
//Standing Harp
@pushlist 'instrumentlist' 0xeb1
//Lap Harp
@pushlist 'instrumentlist' 0xeb2
//Lute
@pushlist 'instrumentlist' 0xeb3
//Drum
@pushlist 'instrumentlist' 0xe9c
//Tambourine
@pushlist 'instrumentlist' 0xe9d
//Tambourine with red tassle
@pushlist 'instrumentlist' 0xe9e
//Select an instrument automatically to use
for 0 to 'instrumentlist'
@findtype instrumentlist[]
@setalias 'instrument' 'found'
endfor
//Clear Mobs
unsetalias 'provoke1'
unsetalias 'provoke2'
//Get first mob
if getenemy 'gray' 'enemy' 'nearest'
@setalias 'provoke1' 'enemy'
else
sysmsg 'No Mobs within range to provoke'
endif
//Get Second mob - because 'nearest' is used, it will not select the same mob as above as nearest cycles through the two closest mobs
if getenemy 'gray' 'enemy' 'nearest'
@setalias 'provoke2' 'enemy'
else
sysmsg 'No Mobs within range to provoke'
endif
//Clear journal to prepare for instrument check
clearjournal
useskill 'Provocation'
pause 1000
//If instrument has not been used since login, this will find the message asking to select an instrument and target the pre-selected instrument from above
if @injournal 'What instrument shall' 'system'
target! 'instrument'
endif
waitfortarget 1500
target! 'provoke1'
waitfortarget 1500
target! 'provoke2'
UO Macros :: UO Forums :: UO Talk :: UOsteam Macros
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum