UO Macros
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Bard attack script

2 posters

Go down

Bard attack script Empty Bard attack script

Post by The DUDE Wed Apr 29, 2015 7:13 pm

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
The DUDE

Posts : 3
Join date : 2015-04-14
Age : 56
Location : USA

Back to top Go down

Bard attack script Empty Re: Bard attack script

Post by Admin Thu Apr 30, 2015 1:24 am

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

Admin
Admin

Posts : 24
Join date : 2015-02-15

https://uosteam-macros.board-directory.net

Back to top Go down

Bard attack script Empty Re: Bard attack script

Post by Admin Thu Apr 30, 2015 1:26 am

//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'

Admin
Admin

Posts : 24
Join date : 2015-02-15

https://uosteam-macros.board-directory.net

Back to top Go down

Bard attack script Empty Re: Bard attack script

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum