Page 1 of 1

Monster Invasion macro help

Posted: 02 Mar 2015, 23:48
by truelift
Good day!

Can someone tell me how to make your bot auto teleport in town (because the teleport auto if idle only works on non-town maps)

I thought about using an auto macro for this type of event. (Monster invasion event)

automacro invasionpront {

console /Oh no!!! Monsters have invaded prontera./i
call prontinva
}

*in this macro, I want to make it do attack monsters around him until there were no more so I made it like
prontinva {

while (*i cant do a condition that you make your bot do attack 0 until the console message "Error in function 'a' (Attack Monster)
Monster 0 does not exist." appears) as loop

do a 0
end loop

do tele
}

Something like this. Anyone can help? thank you

Re: Monster Invasion macro help

Posted: 11 Mar 2015, 10:01
by vitriol
while (@monster(NAME1) || @monster(NAME2) || etc )