automacro trigger on any player coming near the bot

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

Moderator: Moderators

Message
Author
zexel0014
Human
Human
Posts: 43
Joined: 27 Oct 2011, 20:44
Noob?: No

automacro trigger on any player coming near the bot

#1 Post by zexel0014 »

im trying to do some stuff here... and i dont know how to do this part..
well i want my bot to do something when a player (any player) comes near him...
its like a trigger.. when player comes 7 cells near the bot he will do ETC,ETC,ETC

Code: Select all

automacro testtrigger {
player /(.*)/,7                      <-----this sometimes work and most of the time not
exclusive 1
	call {
		do something                   <-----can be buff, relog, dc, change equip, drop certain  item,
		do something                             and many more..
      do something
      do more
	}
}
well i really dont know how to trigger this..
i have so many things i want to do with this trigger, so can anyone there lead me to a link where i can study similar things to this one....
a big thanks to all!

Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: automacro trigger on any player coming near the bot

#2 Post by Raider »


Post Reply