Post by Purple on May 1, 2005 16:23:56 GMT -5
This is officially the first script that I write.. I've read a the FFXI AutoIT commands and they are very useful. I've also seen some other scripts like the TinyTerror's SMN script.. and I've used some commands from him^^ (Thanks)
The macros you should use are:
Alt 1 -------------> /ma "Flash" <t>
Alt 2 -------------> /attack <t>
This is the script, I'm going to explain it:
AutoItSetOption("SendKeyDelay",200);
AutoItSetOption("SendKeyDownDelay",200);
Sleep(3000);
While 1=1
For $1=0 to 22
Send("!1");
Sleep(47600);
Next
Send("!2");
Sleep(10000);
Send("/heal");
Send("{ENTER}")
Sleep(155000);
Send("/heal");
Send("{ENTER}")
WEnd
First of all.. I've set the sleep time according to my MP :S you might want to change it.
For $1=0 to 22 <-- this is how many times I want the spell to be casted
Send("!1"); <-- This one send the macro Alt 1
Sleep(47600); <-- This is Flash's recast time.. It's 45 seconds.. but I added the casting time + a couple more seconds... (just thought it would be good to do that)
Send("!2"); <-- This will send Alt 2.. which is to attack the monster when I'm out of MP
Sleep(10000); <-- this is 10 seconds... for me to kill the monster (usually takes less for me since I use this script in West Ron.)
Send("/heal"); <-- This is obvious... it will type /heal then enter
Send("{ENTER}")
Sleep(155000); <-- This is how long it takes me to regain my full MP.. ir might be different for you.. (I'm WHM70)
Send("/heal"); <-- Typing this will make it stop healing..
Send("{ENTER}")
Then the script will repeat itself.... This script is not perfect.. because you have to move and look for monsters after killing one.. You are free to use this script and improve it if you wish..
Thank you.. (can't wait to see your comments^^)
The macros you should use are:
Alt 1 -------------> /ma "Flash" <t>
Alt 2 -------------> /attack <t>
This is the script, I'm going to explain it:
AutoItSetOption("SendKeyDelay",200);
AutoItSetOption("SendKeyDownDelay",200);
Sleep(3000);
While 1=1
For $1=0 to 22
Send("!1");
Sleep(47600);
Next
Send("!2");
Sleep(10000);
Send("/heal");
Send("{ENTER}")
Sleep(155000);
Send("/heal");
Send("{ENTER}")
WEnd
First of all.. I've set the sleep time according to my MP :S you might want to change it.
For $1=0 to 22 <-- this is how many times I want the spell to be casted
Send("!1"); <-- This one send the macro Alt 1
Sleep(47600); <-- This is Flash's recast time.. It's 45 seconds.. but I added the casting time + a couple more seconds... (just thought it would be good to do that)
Send("!2"); <-- This will send Alt 2.. which is to attack the monster when I'm out of MP
Sleep(10000); <-- this is 10 seconds... for me to kill the monster (usually takes less for me since I use this script in West Ron.)
Send("/heal"); <-- This is obvious... it will type /heal then enter
Send("{ENTER}")
Sleep(155000); <-- This is how long it takes me to regain my full MP.. ir might be different for you.. (I'm WHM70)
Send("/heal"); <-- Typing this will make it stop healing..
Send("{ENTER}")
Then the script will repeat itself.... This script is not perfect.. because you have to move and look for monsters after killing one.. You are free to use this script and improve it if you wish..
Thank you.. (can't wait to see your comments^^)