Sign in to follow this  
Followers 0
Guest Guldor

Very Simple Script Needed!

6 posts in this topic

This is a fairly simple script, I just don't know what terms are used when making a script.

But in FFXI I am wanting to continually cast refresh on myself to raise enhancing magic.

So this is what it is gonna need, this is the command to cast the spell.

3 minutes to log into game first.

/ma "Refresh" <me>

Then I need to wait 30 seconds and repeat the above line over and over and over.

Can you please give me the Autoit code for this please?

Share this post


Link to post
Share on other sites

; Let's sleep for 3 minutes. 60 * 1000 gives us 1 minute in milliseconds, times 3 gives us 3 minutes.
Sleep(3*60*1000)

; Infinite loop, 1 is always 1 :)
While 1
    Send('/ma "Refresh" <me>')
    Sleep(30*1000)
WEnd

I took my time to help you, now PLEASE learn the language/tell a friend, it's all we ask here :)


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

looks great, but I forgot to mention that after /ma "Refresh" <me>

I need it to push enter, is that done by typing enter after that line of script?

Share this post


Link to post
Share on other sites

That's something you can find in the help file very easily :)

Look under 'Send'


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

You were right, I found it!

Send("{ENTER}") went on the line right underneath the one you gave me. Looks to be working well, thank you so much

Share this post


Link to post
Share on other sites

No problem, glad to help :)


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0