Locked Home » Forums » Legacy & Archived » Archived Content » Vanguard » Vanguard Premium Discussions

Looping Macro : Vanguard Premium Discussions

Posted: March 7th, 2007
User avatar
Total Posts:6 Joined:2006
Now I know that the majority of the people on this website use scripting macros for their bots but unfortunately for me I am not that savvy on using scripts and stuff.

So my question is has anyone found a way to loop an ingame macro utilizing the ingame commands? Here is the macro that I am trying to loop:

/assistdefensive
/cast "SorcererSpell"

I was using this while /following a guildie and having him targetted. It would automatically target what he was targeted on and then cast my spell but I would have to press the hotkey over and over in order to get the macro to loop.
Posted: March 7th, 2007
User avatar
Total Posts:272 Joined:2004
You cannot do it with ingame macros.
Posted: March 8th, 2007
kumqwat420
pretty easy, put something heavy on the "sorcerer spell" key or whatever.

also you can write a basic script in any language that presses a key every 5 seconds or whatever
Posted: March 8th, 2007
tokidoki
kumqwat is right (just wanted to say that name) cool name! something like autohotkey.

here is a really basic example
keyloop: ;just any ole name
Send, {1} ;sends the 1 key to whatever window you have open
sleep, 3000 ;waits 3 seconds
goto, keyloop ;starts back up at keyloop

if you start typing a message it will also type the 3 in your text unless you turn it off.

and there are ways you can pause it with a keypress too. Autohotkey is a great beginner program.. 3 days ago I knew nothing about scripting and now i've written an almost complete crafting bot from it. I just can't figure out how to make it run back and forth to buy new work orders and supplies, but hey.. in another week i'll have everything working in VGextreme anyway. As soon as I learn some syntax, which isn't hard
Posted: March 8th, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
Looping is easy...

Do while (bSomething = true)
Your loop code here
Loop


This is all from very basic VB scripts. You really should do a VBScript tutorial found everywhere on the web.

_________________
Use Search first, ask questions later!
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 10 guests
Locked