Monster Invasion macro help

All resolved question will be found here. It is recommended that you browse / search through this section first and see if your question has been answered before

Moderators: Moderators, Documentation Writers

Message
Author
truelift
Noob
Noob
Posts: 3
Joined: 02 Mar 2015, 23:09
Noob?: Yes

Monster Invasion macro help

#1 Post 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

vitriol
Plain Yogurt
Plain Yogurt
Posts: 61
Joined: 19 Apr 2011, 23:26
Noob?: No

Re: Monster Invasion macro help

#2 Post by vitriol »

while (@monster(NAME1) || @monster(NAME2) || etc )

Locked