Post by clee4601 on Jul 22, 2020 22:59:26 GMT
I am working on a script to disco, honor, then slay with a pet. The problem I am running into is getting it to repeat disco on a target until successful. The function should be:
# find type
#use discord (repeat until successful)
#tell pet to kill
I can get really close, but if i get it to repeat then it tends to send the pet command in the middle of the disco loop. Any suggestions would be great.
if not listexists 'farm'
pushlist 'farm' '0x5'
for 0 in 'farm'
while @findtype farm 'any' 10
while @injournal 'You attempt to disrupt'
if @injournal 'jarring'
msg 'all kill'
Post by cmray on Apr 15, 2021 10:07:06 GMT
For While, you need to endwhile