Page 1 of 1

use macro in game

Posted: Fri Sep 20, 2013 8:20 pm
by Supergala
guys i have a problem...for a little quest i must speck with npc and after i must deliver 10 energy drink for all npc near me...for do this in game i have a macro in my action bar..is it:
/script TargetNearestFriend()
/run UseItemByName("Energy Drink")
/wait 0.1
/script TargetNearestFriend()
/run UseItemByName("Energy Drink")
/wait 0.1
/script TargetNearestFriend()
/run UseItemByName("Energy Drink")
/wait 0.1


i must click it many times till deliver 10 drink...can i have an help for set micromacro for click this macro for example in my action bar in slot 5 ? for example)ty

Re: use macro in game

Posted: Sat Sep 21, 2013 12:57 am
by rock5
If you just want to click actionbar slot 5 you can use

Code: Select all

keyboardPress(key.VK_5)

Re: use macro in game

Posted: Sat Sep 21, 2013 7:41 am
by Supergala
yes but wherre i must copy your phrase?on load,onskill in which macro?character waypoint or profile?can you see me an example pls rock?

Re: use macro in game

Posted: Sat Sep 21, 2013 7:46 am
by ZZZZZ
Can just use what ever code from this thread: http://www.solarstrike.net/phpBB3/viewt ... =27&t=4931 for that quest. The code from first post of mine is a bit buggy so just look through thread for those others have posted.