Skill Up Script For Windower 4

Langues: JP EN DE FR
619 users online
Forum » Windower » Support » Skill up script for Windower 4
Skill up script for Windower 4
Offline
Posts: 24
By Homa 2013-04-13 09:27:29
Link | Citer | R
 
Anyone knows how to set up a simple skill up script for windower 4? My old one didn't seem to work anymore.
 Valefor.Clairefox
Offline
Serveur: Valefor
Game: FFXI
user: Clairefox
Posts: 87
By Valefor.Clairefox 2013-04-13 09:45:01
Link | Citer | R
 
I got this one a long time ago from somewhere for Spellcast. It still works for me. Think it started with just SMN, Healing, and Enhancing skills. I've since added BRD, BLU, and now GEO magics to it.


Code
<?xml version="1.0" ?>
<spellcast>
	<!-- SpellCast Configurations -->
	<config Debug="false" HideErrors="false" ShowSpellInfo="false" ShowGearSwaps="false" />
 
	<!-- SpellCast Variables -->
	<variables clear="false">
		<var name="SkillUp">1</var> <!-- /Heal Break DO NOT ALTER -->
		<var name="FirstSetup">1</var> <!-- First Run Display Var DO NOT ALTER-->
		<var name="SkillCycle">1</var> <!-- Spell Cycle DO NOT ALTER -->
 
	<!-- You can alter these variables, 180 is 3 min. of resting -->
		<var name="RestTime">180</var> <!-- Set REST time for segments -->

	</variables>

	<sets>
	</sets>
	<rules>
		<!-- Setup First Run Notification -->
		<if advanced='"$FirstSetup" == "1"'>
			<action type="command">bind ^escape input /echo Exiting.;unload spellcast;unbind ^escape;</action>
			<action type="AddToChat" color="121">--- SkillUp.Xml v1.1 ---</action>
			<action type="AddToChat" color="121">Press CTRL+Escape at anytime to unload spellcast and exit SkillUp.Xml</action>
			<action type="var" cmd="set FirstSetup 0" />
		</if>

		<!-- Summoning Magic Skill-Up Segment -->
		<if spell="Carbuncle">
			<!-- Check if /Heal Break is active -->
			<if advanced='"$SkillUp" == "1"'>
				<!-- Check if your MP is low -->
				<if Mode="OR" NOTMPGT="15" MP="15">
					<if notspell="release">
						<action type="command" when="precast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
						<action type="cancelspell"/> 
					</if>
					<else>
						<action type="command" when="aftercast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					</else>
				</if>
				<!-- Smn Skill Cycling -->
				<elseif advanced='"$SkillCycle" == "1"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 2" />
					<action type="changespell" spell="Carbuncle" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "2"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 3" />
					<action type="changespell" spell="Ifrit" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "3"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 4" />
					<action type="changespell" spell="Titan" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "4"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 5" />
					<action type="changespell" spell="Leviathan" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "5"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 6" />
					<action type="changespell" spell="Garuda" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "6"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 7" />
					<action type="changespell" spell="Shiva" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "7"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 8" />
					<action type="changespell" spell="Ramuh" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "8"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 9" />
					<action type="changespell" spell="Fenrir" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "9"'>
					<action type="command" when="aftercast">wait 2;input /ja "Release";wait 2;input /ma "Carbuncle"</action>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="changespell" spell="Diabolos" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
			</if>
		</if>

		<!-- Healing Magic Skill-Up Segment -->
		<elseif spell="Cure" >
			<!-- Check if /Heal Break is active -->
			<if advanced='"$SkillUp" == "1"'>
				<!-- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it -->
				<if advanced='"$SkillCycle" == "4|5|6|7|8|9"'>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="command" when="aftercast">wait 3;input /ma "Cure"</action>
					<action type="cancelspell"/> 
				</if>
				<!-- Check if your MP is low -->
				<if Mode="OR" NOTMPGT="46" MP="46">
					<if notspell="blink">
						<action type="command" when="precast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Cure"</action>
						<action type="cancelspell"/> 
					</if>
					<else>
						<action type="command" when="aftercast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Cure"</action>
					</else>
				</if>
				<!-- Healing Skill Cycling -->
				<elseif advanced='"$SkillCycle" == "1"'>
					<action type="command" when="aftercast">wait 3;input /ma "Cure"</action>
					<action type="var" cmd="set SkillCycle 2" />
					<action type="changespell" spell="Cure" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "2"'>
					<action type="command" when="aftercast">wait 3;input /ma "Cure"</action>
					<action type="var" cmd="set SkillCycle 3" />
					<action type="changespell" spell="Cure II" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "3"'>
					<action type="command" when="aftercast">wait 3;input /ma "Cure"</action>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="changespell" spell="Cure III" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
			</if>
		</elseif>
 
		<!-- Enhancing Magic Skill-Up Segment -->
		<elseif spell="Protect" >
			<!-- Check if /Heal Break is active -->
			<if advanced='"$SkillUp" == "1"'>
				<!-- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it -->
				<if advanced='"$SkillCycle" == "5|6|7|8|9"'>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="cancelspell"/> 
				</if>
				<!-- Check if your MP is low -->
				<if Mode="OR" NOTMPGT="18" MP="18">
					<if notspell="blink">
						<action type="command" when="precast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Protect"</action>
						<action type="cancelspell"/> 
					</if>
					<else>
						<action type="command" when="aftercast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Protect"</action>
					</else>
				</if>
				<!-- Enhancing Skill Cycling -->
				<elseif advanced='"$SkillCycle" == "1"'>
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="var" cmd="set SkillCycle 2" />
					<action type="changespell" spell="Barfira" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "2"'>
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="var" cmd="set SkillCycle 3" />
					<action type="changespell" spell="Barblizzara" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "3"'>
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="var" cmd="set SkillCycle 4" />
					<action type="changespell" spell="Baraera" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "4"'>
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="var" cmd="set SkillCycle 5" />
					<action type="changespell" spell="Barstonra" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "5"'>
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="var" cmd="set SkillCycle 6" />
					<action type="changespell" spell="Barthundra" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "6"'>
					<action type="command" when="aftercast">wait 3;input /ma "Protect"</action>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="changespell" spell="Barwatera" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
			</if>
		</elseif>
		
		<!-- Singing/Wind/String Magic Skill-Up Segment -->
		<elseif spell="Army's Paeon VI" >
			<!-- Check if /Heal Break is active -->
			<if advanced='"$SkillUp" == "1"'>
				<!-- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it -->
				<if advanced='"$SkillCycle" == "5|6|7|8|9"'>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="command" when="aftercast">wait 3;input /ma "Army's Paeon VI"</action>
					<action type="cancelspell"/> 
				</if>
				<!-- Check if your MP is low -->
				<if Mode="OR" NOTMPGT="18" MP="18">
					<if notspell="blink">
						<action type="command" when="precast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Army's Paeon VI"</action>
						<action type="cancelspell"/> 
					</if>
					<else>
						<action type="command" when="aftercast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Army's Paeon VI"</action>
					</else>
				</if>
				<!-- BRD Skills Cycling -->
				<elseif advanced='"$SkillCycle" == "1"'>
					<action type="command" when="aftercast">wait 3;input /ma "Army's Paeon VI"</action>
					<action type="var" cmd="set SkillCycle 2" />
					<action type="changespell" spell="Mage's Ballad III" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "2"'>
					<action type="command" when="aftercast">wait 3;input /ma "Army's Paeon VI"</action>
					<action type="var" cmd="set SkillCycle 3" />
					<action type="changespell" spell="Knight's Minne V" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "3"'>
					<action type="command" when="aftercast">wait 3;input /ma "Army's Paeon VI"</action>
					<action type="var" cmd="set SkillCycle 4" />
					<action type="changespell" spell="Valor Minuet V" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "4"'>
					<action type="command" when="aftercast">wait 3;input /ma "Army's Paeon VI"</action>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="changespell" spell="Fire Carol II" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
			</if>
		</elseif>
		
		<!-- Blue-Magic Skill-Up Segment -->
		<elseif spell="Cocoon" >
			<!-- Check if /Heal Break is active -->
			<if advanced='"$SkillUp" == "1"'>
				<!-- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it -->
				<if advanced='"$SkillCycle" == "4|5|6|7|8|9"'>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="command" when="aftercast">wait 3;input /ma "Cocoon"</action>
					<action type="cancelspell"/> 
				</if>
				<!-- Check if your MP is low -->
				<if Mode="OR" NOTMPGT="46" MP="46">
					<if notspell="blink">
						<action type="command" when="precast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Cocoon"</action>
						<action type="cancelspell"/> 
					</if>
					<else>
						<action type="command" when="aftercast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Cocoon"</action>
					</else>
				</if>
				<!-- Blue-Magic Skill Cycling -->
				<elseif advanced='"$SkillCycle" == "1"'>
					<action type="command" when="aftercast">wait 3;input /ma "Cocoon"</action>
					<action type="var" cmd="set SkillCycle 2" />
					<action type="changespell" spell="Pollen" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "2"'>
					<action type="command" when="aftercast">wait 3;input /ma "Cocoon"</action>
					<action type="var" cmd="set SkillCycle 3" />
					<action type="changespell" spell="Wild Carrot" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "3"'>
					<action type="command" when="aftercast">wait 3;input /ma "Cocoon"</action>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="changespell" spell="Healing Breeze" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
			</if>
		</elseif>
		
		<!-- Geomancy Skill-Up Segment -->
		<elseif spell="Indi-Poison" >
			<!-- Check if /Heal Break is active -->
			<if advanced='"$SkillUp" == "1"'>
				<!-- Fix the SkillCycle varaible in case the SMN SKILL Segment boinked it -->
				<if advanced='"$SkillCycle" == "7|8|9"'>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="cancelspell"/> 
				</if>
				<!-- Check if your MP is low -->
				<if Mode="OR" NOTMPGT="38" MP="38">
					<if notspell="blink">
						<action type="command" when="precast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Indi-Poison"</action>
						<action type="cancelspell"/> 
					</if>
					<else>
						<action type="command" when="aftercast">input /heal on;wait $RestTime;input /heal off;wait 2;input /ma "Indi-Poison"</action>
					</else>
				</if>
				<!-- Geomancy Skill Cycling -->
				<elseif advanced='"$SkillCycle" == "1"'>
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="var" cmd="set SkillCycle 2" />
					<action type="changespell" spell="Indi-Precision" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "2"'>
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="var" cmd="set SkillCycle 3" />
					<action type="changespell" spell="Indi-Voidance" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "3"'>
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="var" cmd="set SkillCycle 4" />
					<action type="changespell" spell="Indi-Regen" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "4"'>
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="var" cmd="set SkillCycle 5" />
					<action type="changespell" spell="Indi-Attunement" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "5"'>
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="var" cmd="set SkillCycle 6" />
					<action type="changespell" spell="Indi-Focus" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
				<elseif advanced='"$SkillCycle" == "6"'>
					<action type="command" when="aftercast">wait 3;input /ma "Indi-Poison"</action>
					<action type="var" cmd="set SkillCycle 1" />
					<action type="changespell" spell="Indi-Barrier" />
					<action type="Changetarget" target="<me>"/>
				</elseif>
			</if>
		</elseif>
	</rules>
</spellcast>
[+]
necroskull Necro Bump Detected! [192 days between previous and next post]
Offline
Posts: 10
By orane 2013-10-22 11:51:47
Link | Citer | R
 
so do you post that in a new txt. document under the scripts folder
 Phoenix.Demonjustin
Offline
Serveur: Phoenix
Game: FFXI
Posts: 398
By Phoenix.Demonjustin 2013-10-22 13:06:51
Link | Citer | R
 
You put it in a .txt file, then change it to a .xml file, put the .xml in your spellcast folder, then load spellcast, then

/sc load <name of xml>

and it should run.
Log in to post.