Automacro trigger for "no monsters".

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
Hiyula
Noob
Noob
Posts: 4
Joined: 17 Aug 2012, 06:49
Noob?: No

Automacro trigger for "no monsters".

#1 Post by Hiyula »

Hello,

I was wondering whether there was a way to trigger an automacro when no monsters are present. I have taken a look at 'monster not' but this command still requires a monster to be present. The only other way I can think of is using ml and parsing the output. Is there a better way to do this?

Hiyula
Noob
Noob
Posts: 4
Joined: 17 Aug 2012, 06:49
Noob?: No

Re: Automacro trigger for "no monsters".

#2 Post by Hiyula »

Bump.

ever_boy_
Developers
Developers
Posts: 308
Joined: 06 Jul 2012, 13:44
Noob?: No

Re: Automacro trigger for "no monsters".

#3 Post by ever_boy_ »

what exactly do you wanna do?
triggers when there are no monsters around, and then what?

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: Automacro trigger for "no monsters".

#4 Post by EternalHarvest »

Something like

Code: Select all

automacro test {
  eval !$monstersList->size
  ...
}

TormenT
Human
Human
Posts: 33
Joined: 13 Nov 2012, 07:57
Noob?: No

Re: Automacro trigger for "no monsters".

#5 Post by TormenT »

Nice its solved my problem, but if i want trigger with 3 ">=3" or more monster? how to use?

Thanks

Post Reply