I use these alias in my Init file

alias scon sc var set scmode on;
alias scoff sc var set scmode off;
alias set input /ma "holy ii";
alias gear input /ma "Stonega IV";
alias mon sc var set staymelee on;
alias moff sc var set staymelee off;
 
after i set what gear i want to melee in or make changes to my gear i use the alais  "//set"
and it saves the current gear set so after any WS or JA or Spell  it always changes back to what gear i had on previous
 
<?xml version="1.0" ?>
<spellcast>
	<config
		RequiredVersion="2.21"
		Debug="False"
		HideErrors="False"
		ShowGearSwaps="False"
		/>
 
<sets>
	<group default="yes" name="normal">
		<set name="melee">
			<head>$CustHead</head>
			<neck>$CustNeck</neck>
			<lear>$CustLear</lear>
			<rear>$CustRear</rear>
			<body>$CustBody</body>
			<hands>$Custhand</hands>
			<lring>$CustLring</lring>
			<rring>$CustRring</rring>
			<back>$CustBack</back>
			<waist>$CustWaist</waist>
			<legs>$CustLegs</legs>
			<feet>$CustFeet</feet>
		</set>
 
		<set name="wsgear" />
 
		<set name="fastcast" />
 
		<set name="town" />
 
		<set name="resting" />
	</group>
</sets>
 
<variables clear="true">
	<var name="utsulast">Ichi</var>
	<var name="staymelee">off</var>
	<var name="scmode">off</var>
	<var name="CustHead"></var>
	<var name="CustNeck"></var>
	<var name="CustLear"></var>
	<var name="CustRear"></var>
	<var name="CustBody"></var>
	<var name="CustHand"></var>
	<var name="CustLring"></var>
	<var name="CustRring"></var>
	<var name="CustBack"></var>
	<var name="CustWaist"></var>
	<var name="CustLegs"></var>
	<var name="CustFeet"></var>
</variables>
 
<rules>
<if spell="Stonega IV">
	<if status="engaged">
		<action type="Equip" set="melee" />
	</if>
	<else>
		<if Advanced='"$staymelee"=="on"'>
			<action type="Equip" set="melee" />
		</if>
		<else>
			<action type="Equip" set="town" />
		</else>
	</else>
	<action type="Cancelspell" />
	<action type="Return" />
</if>
<elseif spell="Holy II">
	<action type="AddToChat">Saving Custom Set</action>
	<if advanced='"%EquipHead"!=""'><action type="Var" cmd="set CustHead %EquipHead" /></if>
	<if advanced='"%Equipneck"!=""'><action type="Var" cmd="set CustNeck %Equipneck" /></if>
	<if advanced='"%EquipLear"!=""'><action type="Var" cmd="set CustLear %EquipLear" /></if>
	<if advanced='"%EquipRear"!=""'><action type="Var" cmd="set CustRear %EquipRear" /></if>
	<if advanced='"%EquipBody"!=""'><action type="Var" cmd="set CustBody %EquipBody" /></if>
	<if advanced='"%EquipHands"!=""'><action type="Var" cmd="set CustHand %EquipHands" /></if>	
	<if advanced='"%EquipLRing"!=""'><action type="Var" cmd="set CustLring %EquipLRing" /></if>
	<if advanced='"%EquipRRing"!=""'><action type="Var" cmd="set CustRring %EquipRRing" /></if>
	<if advanced='"%EquipBack"!=""'><action type="Var" cmd="set CustBack %EquipBack" /></if>
	<if advanced='"%EquipWaist"!=""'><action type="Var" cmd="set CustWaist %EquipWaist" /></if>
	<if advanced='"%EquipLegs"!=""'><action type="Var" cmd="set CustLegs %EquipLegs" /></if>
	<if advanced='"%EquipFeet"!=""'><action type="Var" cmd="set CustFeet %EquipFeet" /></if>
    <action type="cancelspell"/>
    <action type="return"/>
</elseif>
<else>
<if BuffActive="charm|stun|KO|sleep|petrification"><action type="Cancelspell" /><action type="Return" /></if>
<if spell="autoset">
	<action type="equip" when="resting" set="resting" />
	<action type="Command" when="engaged|Idle">input /ma Stonega IV</action>
</if>
 
<if mode="AND" Type="WeaponSkill" NotTPLT="100" notBuffActive="amnesia">
	<action type="geardelay" delay=".5" />
	<if Advanced='"$scmode"=="on"'><action type="Command">input /p %Spell > %Target</action></if>
	<action type="Equip" set="wsgear" />
</if>
 
<if mode="AND" Type="JobAbility" notBuffActive="amnesia">	
 
</if>
 
<if mode="AND" Type="Ninjutsu" notBuffActive="silence">
	<action type="equip" set="fastcast" />
	<if spell="Utsusemi: Ni">
		<action type="var" cmd="set utsulast Ni" />
	</if>
 
	<if spell="Utsusemi: Ichi">
		<if advanced='"$utsulast"=="Ni"'>
			<action type="midcastdelay" delay="2.5" />
			<action type="Command" when="midcast">cancel 66</action>
		</if>
		<action type="var" cmd="set utsulast Ichi" />
	</if>
 
	<if spell="Mono*">
		<action type="midcastdelay" delay=".2" />
		<action type="command" when="midcast">cancel 71</action>
	</if>
</if>
 
<if CommandPrefix="/ra|/range">
 
</if>
<action type="Command" when="aftercast">input /ma Stonega IV</action>
</else>
</rules>
</spellcast>
plugins/spellcast/userxml/multi/rbs_template.txt · Last modified: 2009/08/08 14:00 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0