|
eamonnsoll Newbie
Joined: 30 May 2020 Posts: 3
|
Posted: Sat May 30, 2020 7:28 pm
Script Help |
Good afternoon everyone, I was wondering if there's a way to write a script that will track a mob, kill it and then either track another mob of the same name or switch to a predetermined other mob. I'm looking for a total of 7 different mobs to track and kill. Thank you for any and all help!
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Sun May 31, 2020 4:07 am |
That is quite possible.
Here is a mock-up:
trackList=this guy|that guy|the other guy
trackNum=1
trackCurrent=%item(@tracklist, @tracknum)
#ALIAS trackNext {#ADD trackNum 1;#IF (@trackNum>%numitems(@tracklist)) {tracknum=1};trackCurrent=%item(@tracklist, @tracknum);track @tarckCurrent}
#TRIGGER {Tracks of {@trackCurrent} lead (%w)} {%1;track @trackCurrent}
#TRIGGER {{@trackCurrent} is right here!} {kill @trackCurrent}
#TRIGGER {You killed {@trackCurrent}} {track @trackCurrent}
#TRIGGER {You can't find the tracks of {@trackCurrent}} {trackNext} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|