Script I wrote for skilling up healing magic skill.
Most script writers resort to looping of file executes, constantly reexecuting the file to loop and such. But that leads to lots of files in your script directory, and can make it messy. So I've came up with this script that
No executing file loops, simply execute the file to define the aliases, then //start //stop or //timedcast for a session that goes for 30min, stop for 30m, go for 30min, for about 4hrs.
Sorry for long delay of posting the code. I decided to revamp it to make it easier for you to edit and control it more and very easily to change this to any type of skillup script.
View below for summoner skillup version
//************************************* //***** Aikar's Advanced Skillup Script ***** //***** ******************************** //*** Used for any job or spells. You must **** //*** Read the crash warning below. **** //*** Or this script will not work. READ IT **** //************************************** //** CURRENT SCRIPT VERSION: HEALING MAGIC //**************** //** CONFIGURATION! //**************** //** Configure the script here until you //** get to End of configuration //**************** //first spell to cast alias makec1 alias c1 input /ma Cure <me>; //2nd spell to cast alias makec2 alias c2 input /ma "Cure II" <me>; //additional spells to use if editing script - these are unused by default. //You will have to edit 'alias cycle' to add them. alias makec3 alias c3 input /ma "Cure II" <me>; alias makec4 alias c4 input /ma "Cure II" <me>; alias makec5 alias c5 input /ma "Cure II" <me>; alias makec6 alias c6 input /ma "Cure II" <me>; alias makec7 alias c7 input /ma "Cure II" <me>; alias makec8 alias c8 input /ma "Cure II" <me>; //wait interval between spells - must be an alias name from below alias wi w6; //Resting interval - default 3mins alias r wait1m;wait1m;wait1m; //*** CRASH WARNING *** //** Because of how this script works, it WILL crash your game if ran for a certain length of time. This time it takes to crash depends on how big the following 2 aliases are. If they are small, it crashes faster, if they are large, it might not crash for 3 days. //** To make sure your game does not crash, make the following aliases repeat themselves as much as you can. //** The default for cycle should be more than enough to prevent crashing within 24 hours. using //stop will prevent this. as it closes the open calls. //** Now that you read this, find the characters '** a43df' at bottom of file //** and delete the line under it thats redefining the start alias, then execute this file //********************** //what to loop - you would add a 3rd+ spell here //Warning. READ CRASH WARNING ABOVE alias cycle c1;wi;c2;wi;c1;wi;c2;wi;c1;wi;c2;wi;c1;wi;c2;wi; //How many times to loop and the healing process. hon=heal on - hoff = heal off -- YOU NEED runloop AT END //Warning. READ CRASH WARNING ABOVE alias loop cycle;cycle;cycle;cycle;cycle;cycle;cycle;cycle;hon;r;hoff;w;w;w;runloop //hmp gear for resting //could use an alias to your own macros healing gear swap instead. alias hmpgear input /equip main "Dark Staff"; //special start scripts //30min on 30min off loop alias timedcast echo "starting for 30 mins";start;wait30m;echo "stopping for 30 mins";stop;wait30m;echo "starting for 30 mins";start;wait30m;echo "stopping for 30 mins";stop;wait30m;echo "starting for 30 mins";start;wait30m;echo "stopping for 30 mins";stop;wait30m;echo "starting for 30 mins";start;wait30m;echo "stopping for 30 mins";stop;wait30m;echo "starting for 30 mins";start;wait30m;echo "stopping for 30 mins";stop;wait30m;echo "starting for 30 mins";start;wait30m;echo "stopping for good";stop //Core stuff. shouldnt need to edit //make some timers w will be defined below in core section and should not be defined by you! its an on/off switch. alias w1 w; alias w2 w;w; alias w3 w;w;w; alias w4 w;w;w;w; alias w5 w;w;w;w;w; alias w6 w;w;w;w;w;w; alias w7 w;w;w;w;w;w;w; alias w8 w;w;w;w;w;w;w;w; alias w9 w;w;w;w;w;w;w;w;w; alias w10 w;w;w;w;w;w;w;w;w;w; alias w15 w10;w5; alias w20 w10;w10; alias w30 w10;w10;w10; alias wait1m w10;w10;w10;w10;w10;w10; alias wait5m wait1m;wait1m;wait1m;wait1m;wait1m; alias wait10m wait5m;wait5m; alias wait30m wait10m;wait10m;wait10m; alias makew alias w wait 1; alias makehon alias hon w;w;hmpgear;input /heal on alias makehoff alias hoff w;w;input /heal off alias stophon alias hon /; alias stophoff alias hoff /; alias stopc1 alias c1 /; alias stopc2 alias c2 /; alias stopc3 alias c3 /; alias stopc4 alias c4 /; alias stopc5 alias c5 /; alias stopc6 alias c6 /; alias stopc7 alias c7 /; alias stopc8 alias c8 /; alias stopw alias w /; alias stoploop alias runloop /; alias makeloop alias runloop loop; alias stop stophon;stophoff;stopc1;stopw;stopc2;stopc3;stopc4;stopc5;stopc6;stopc7;stopc8;stoploop; alias start makehon;makehoff;makec1;makec2;makec3;makec4;makec5;makec6;makec7;makec8;makew;makeloop;runloop //** a43df alias start input /echo You didn't follow instructions.