BBot - The best bot of the world
Using Drop gold or X in Target Player by Key Pressed - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Using Drop gold or X in Target Player by Key Pressed (/thread-21074.html)



Using Drop gold or X in Target Player by Key Pressed - mostppl - 07-09-2019

Hello..

I use this macro:
Quote:500 {throwGold} target:=Creature.Attacking() Creature.DistanceToSelf(!target!)<=6 Creature.IsPlayer(!target!)==1 X:=Creature.X(!target!) Y:=Creature.Y(!target!) Z:=Creature.Z(!target!) Map.Thrown(3031, 1, !X!, !Y!, !Z!)

Work is good.. but i need to work ONLY by key pressed.
Key is Page Down

If i press Page Down drop gold on player targeted by me
If i no press anyone key does not do anything

Is possible? Thank !!!!!