Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- *** I don't take full credit for this file. I've used various other files and some of my own ***
- ----------------------
- GearSwap Version 0.892
- ----------------------
- File Created 10-9-14
- If you found this file, it was probably through bluegartr. If any bugs or errors are
- found please send me a PM there and I'll try to fix it.
- *For some of these features to work, the Shortcuts, Cancel addon and Timers plugin are required.
- ----------------------
- Update 10-10-14
- *Added: Oneiros Ring function at "function status_change(new,old)" for MP conditions.
- *Added: Function to WS on certain days and use the new head piece Gavialis Helm.
- *Added: Auto locks Twilight set on when you get up from a raise.
- ----------------------
- Macro lists- case sensitive (If in chat remove the /console & add //, example //gs c acc)
- /console gs c encumber (encumber toggle- Tsuru,Amano,Koga,Masa - Defaults to Tsurumaru)
- /console gs c idle (idle toggle Regen,Normal)
- /console gs c acc (acc toggle for TP,WS) (Accuracy levels are Normal, LightAcc, FullAcc)
- /console gs c update (updates current gear set, also set to the F10 key on keyboard)
- /console gs c active (will show all active sets and toggles that are active or not)
- /console gs c distance (Set target distance, default is 5 yalms
- - All Toggles below are OFF by default.
- /console gs c pdt (toggle/locks pdt set at all times, during Idle,TP,WS,JA,MA ect.)
- /console gs c mdt (toggle/locks mdt set at all times, during Idle,TP,WS,JA,MA ect.)
- /console gs c th (toggle/locks Chaac Belt at these times, during Idle,TP)
- /console gs c rings (toggle/locks Warp Ring & Capacity Ring at all times, during Idle,TP,WS,JA,MA ect.)
- /console gs c twilight (toggle/locks Twilight set at all times for reraise, during Idle,TP,WS,JA,MA ect.)
- /console gs c cpmantle (toggle/locks Mecisto. Mantle at all times for Capacity Points farming, during Idle,TP,WS,JA,MA ect.)
- /console gs c movement (toggle/locks movement gear)
- /console gs c seigan (toggle seigan/third eye set)
- /console gs c autohasso (toggle to auto hasso)]]
- function get_sets()
- ACC_Index = 1
- ACC_Array = {"Normal","LightAcc","FullAcc"} -- Default ACC Set Is Normal. The First TP Set Of Your Main Weapon Is Normal.
- Idle_Index = 1
- Idle_Array = {"Regen","Normal"} -- Default Idle Set Is Regen
- Encumber_Index = 1 -- Encumber Weapons
- Armor = 'None'
- Twilight = 'OFF'
- TH = 'OFF' -- Rives Necklace Toggle
- Rings = 'OFF' -- Capacity/Warp Ring Toggle
- Auto_Hasso = 'ON' -- Auto Hasso Toggle Default (Keeps Hasso up fulltime)
- Mecisto = 'OFF' -- Mecisto. Mantle (Capacity Points Back) Toggle Default
- Seigan_T = 'OFF' -- Seigan/Third Eye Set Toggle Default
- Movement = 'OFF' -- Movement Gear Toggle Default
- target_distance = 5 -- Set Default Distance Here
- --Default Macro Set for SAM
- send_command('input /macro book 3;wait .1;input /macro set 1')
- --Binds
- send_command('bind f10 gs c update')
- send_command('bind f9 ws Tachi: Fudo <t>')
- --Slept
- sets.Slept = {neck="Berserker's Torque"}
- --Meikyo Shisui
- sets.OneHour = {feet="Sak. Sune-Ate +1"}
- --Twilight Set
- sets.Twilight = {head="Twilight Helm",body="Twilight Mail"}
- --Capacity Points Mantle
- sets.Mecisto = {back="Mecisto. Mantle"}
- --Movement Set
- sets.Movement = {feet="Danzo Sune-Ate"}
- --Rives Necklace
- sets.TH = {neck="Ygnas's Resolve +1"}
- --Capacity/Warp Ring
- sets.Rings = {ring1="Capacity Ring",ring2="Warp Ring"}
- --encumbrance
- sets.Encumber = {}
- Encumber_Set_Names = {'Koga','Tsuru'}
- sets.Encumber['Koga'] = {main="Kogarasumaru",sub="Bloodrain Strap"}
- sets.Encumber['Tsuru'] = {main="Tsurumaru",sub="Bloodrain Strap"}
- -- Idle/Regen Sets --
- sets.Idle = {}
- sets.Idle.Regen = {
- range="Cibitshavore",
- head="Twilight Helm",
- neck="Wiglen Gorget",
- ear1="Bladeborn earring",
- ear2="Dawn Earring",
- body="Kumarbi's Akar",
- hands="Otronif Gloves +1",
- ring1="Paguroidea Ring",
- ring2="Karieyh Ring",
- back="Scuta Cape",
- waist="Lycopodium Sash",
- legs="Otronif Brais +1",
- feet="Otronif boots +1"}
- sets.Idle.Normal = set_combine(sets.Idle.Normal,{
- ear1="Reraise Earring",
- neck="Reraise Gorget",
- ring1="Capacity Ring",
- ring2="Warp Ring"})
- -- Preshot Set --
- sets.Preshot = {
- head="Saotome Kabuto",
- neck="Iqabi necklace",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- body="Kyujutsugi",
- hands="Unkai kote +2",
- ring1="Paqichikaji Ring",
- ring2="Bellona's Ring",
- back="Kayapa Cape",
- waist="Saotome Koshi-ate",
- legs="Wakido haidate +1",
- feet="Wakido sune-ate +1"}
- -- TP Base Set --
- sets.TP = {}
- -- Kogarasumaru TP Sets --
- sets.TP.Kogarasumaru = {
- range="Cibitshavore",
- ammo="Tulfaire Arrow",
- head="Otomi Helm",
- neck="Asperity necklace",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- body="Sakonji Domaru +1",
- hands="Otronif gloves +1",
- ring1="K'ayres ring",
- ring2="Rajas Ring",
- back="Takaha Mantle",
- waist="Cetl Belt",
- legs="Otronif Brais +1",
- feet="Otronif Boots +1"}
- sets.TP.Kogarasumaru.LightAcc = set_combine(sets.TP.Kogarasumaru,{
- body="Mes. Haubergeon",
- waist="Anguinus Belt",
- legs="Xaddi Cuisses"})
- sets.TP.Kogarasumaru.FullAcc = set_combine(sets.TP.Kogarasumaru.LightAcc,{
- head="Yaoyotl Helm",
- neck="Iqabi Necklace",
- body="Mes. Haubergeon",
- hands="Sakonji kote +1",
- ring1="Mouflon Ring",
- ring2="Patricius Ring",
- feet="Waki. Sune-Ate +1"})
- -- Tsurumaru TP Sets --
- sets.TP.Tsurumaru = {
- range="Cibitshavore",
- ammo="Tulfaire Arrow",
- head="Otomi Helm",
- neck="Asperity necklace",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- body="Sakonji Domaru +1",
- hands="Otronif gloves +1",
- ring1="K'ayres ring",
- ring2="Rajas Ring",
- back="Takaha Mantle",
- waist="Cetl Belt",
- legs="Otronif Brais +1",
- feet="Otronif Boots +1"}
- sets.TP.Tsurumaru.LightAcc = set_combine(sets.TP.Tsurumaru,{
- body="Mes. Haubergeon",
- waist="Anguinus Belt",
- legs="Xaddi Cuisses"})
- sets.TP.Tsurumaru.FullAcc = set_combine(sets.TP.Tsurumaru.LightAcc,{
- head="Yaoyotl Helm",
- neck="Iqabi Necklace",
- body="Mes. Haubergeon",
- hands="Sakonji kote +1",
- ring1="Mouflon Ring",
- ring2="Patricius Ring",
- feet="Waki. Sune-Ate +1"})
- -- Third Eye/Seigan TP Set --
- sets.TP['Seigan'] = {
- head="Unkai Kabuto +2",
- legs="Sakonji Haidate"}
- -- PDT/MDT Sets --
- sets.PDT = {
- head="Otomi Helm",
- neck="Twilight Torque",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- body="Xaddi mail",
- hands="Otronif Gloves +1",
- ring1="Defending Ring",
- ring2="Patricius Ring",
- back="Mollusca Mantle",
- waist="Flume Belt +1",
- legs="Otronif Brais +1",
- feet="Otronif Boots +1"}
- sets.MDT = set_combine(sets.PDT,{
- head="Otomi Helm",
- ear1="Merman's Earring",
- ear2="Sanare Earring",
- body="Ogier's surcoat",
- ring1="Shadow Ring",
- back="Mubvumbamiri mantle",
- waist="Resolute Belt"})
- -- WS Base Set --
- sets.WS = {
- range="Cibitshavore",
- head="Otomi Helm",
- neck="Light Gorget",
- ear1="Steelflash earring",
- ear2="Bladeborn earring",
- body="Phorcys Korazin",
- hands="Miki. Gauntlets",
- ring1="Ifrit Ring",
- ring2="Ifrit Ring",
- back="Vespid Mantle",
- waist="Metalsinger Belt",
- legs="Miki. Cuisses",
- feet="Wakido sune-ate +1"}
- -- WS Fudo Sets --
- sets.WS["Tachi: Fudo"] = {
- range="Cibitshavore",
- head="Otomi Helm",
- neck="Light Gorget",
- ear1="Trux earring",
- ear2="Brutal Earring",
- body="Phorcys Korazin",
- hands="Miki. Gauntlets",
- ring1="Ifrit Ring",
- ring2="Karieyh Ring",
- back="Buquwik Cape",
- waist="Metalsinger Belt",
- legs="Scuff. Cosciales",
- feet="Sak. Sune-Ate +1"}
- sets.WS["Tachi: Fudo"].LightAcc = set_combine(sets.WS["Tachi: Fudo"],{
- head="Yaoyotl Helm",
- body="Phorcys Korazin",
- back="Vespid Mantle",
- legs="Miki. Cuisses"})
- sets.WS["Tachi: Fudo"].FullAcc = set_combine(sets.WS["Tachi: Fudo"].LightAcc,{
- body="Mes. Haubergeon",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- feet="Wakido sune-ate +1"})
- -- WS Rana Sets --
- sets.WS["Tachi: Rana"] = {
- range="Cibitshavore",
- head="Otomi Helm",
- neck="Light Gorget",
- ear1="Trux earring",
- ear2="Brutal Earring",
- body="Phorcys Korazin",
- hands="Miki. Gauntlets",
- ring1="Ifrit Ring",
- ring2="Karieyh Ring",
- back="Buquwik Cape",
- waist="Metalsinger Belt",
- legs="Scuff. Cosciales",
- feet="Sak. Sune-Ate +1"}
- sets.WS["Tachi: Rana"].LightAcc = set_combine(sets.WS["Tachi: Rana"],{
- head="Yaoyotl Helm",
- body="Phorcys Korazin",
- back="Vespid Mantle",
- legs="Miki. Cuisses"})
- sets.WS["Tachi: Rana"].FullAcc = set_combine(sets.WS["Tachi: Rana"].LightAcc,{
- body="Mes. Haubergeon",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- feet="Wakido sune-ate +1"})
- -- WS Apex Sets --
- sets.WS["Apex Arrow"] = {
- head="Sukeroku hachimaki",
- neck="Iqabi necklace",
- ear1="Bladeborn Earring",
- ear2="Steelflash Earring",
- body="Kyujutsugi",
- hands="Unkai kote +2",
- ring1="Paqichikaji Ring",
- ring2="Karieyh Ring",
- back="Vespid mantle",
- waist="Caudata belt",
- legs="Mikinaak cuisses",
- feet="Wakido sune-ate +1"}
- sets.WS["Apex Arrow"].LightAcc = set_combine(sets.WS["Apex Arrow"],{})
- sets.WS["Apex Arrow"].FullAcc = set_combine(sets.WS["Apex Arrow"].LightAcc,{})
- -- JA Sets --
- sets.JA = {}
- sets.JA['Sengikori'] = {feet="Unkai Sune-Ate +2"}
- sets.JA['Sekkanoki'] = {hands="Unkai Kote +2"}
- sets.JA['Meditate'] = {head="Wakido Kabuto",hands="Sakonji Kote +1"}
- sets.JA['Warding Circle'] = {head="Wakido Kabuto"}
- sets.JA['Blade Bash'] = {hands="Sakonji Kote +1"}
- -- Waltz Set --
- sets.Waltz = {}
- -- Magic Sets Below
- sets.Precast = {}
- sets.Precast.FastCast = {
- head="Otomi Helm",
- neck="Orunmila's Torque",
- ear2="Loquacious Earring",
- ring1="Veneficium Ring",
- ring2="Prolix Ring"}
- sets.Midcast = {}
- -- Magic Haste Set --
- sets.Midcast.Haste = set_combine(sets.PDT,{})
- end
- function pretarget(spell,action)
- if (spell.type:endswith('Magic') or spell.type == "Ninjutsu") and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
- cancel_spell()
- send_command('input /item "Echo Drops" <me>')
- elseif spell.english == "Seigan" and buffactive.Seigan then -- Change Seigan To Third Eye If Seigan Is On --
- cancel_spell()
- send_command('ThirdEye')
- elseif spell.english == "Meditate" and player.tp > 2990 then -- Cancel Meditate If TP Is Above 2990 --
- cancel_spell()
- add_to_chat(123, spell.name .. ' Canceled: ['..player.tp..' TP]')
- elseif spell.type == "WeaponSkill" and player.tp > 1000 and buffactive['amnesia'] or buffactive['stun'] or buffactive['sleep'] then
- -- Won't try to Weaponskill and cause blinking when those status effects are on.
- cancel_spell()
- add_to_chat(39,spell.name .. ' Canceled: ['..player.name..' Stunned ,Slept or Amnesia]')
- return
- elseif (spell.english == 'Ranged' and spell.target.distance > 24.9) or (player.status == 'Engaged' and (((spell.english == "Namas Arrow" or spell.english == "Apex Arrow") and spell.target.distance > 16+target_distance) or (spell.type == "WeaponSkill" and spell.english ~= "Namas Arrow" and spell.english ~= "Apex Arrow" and spell.target.distance > target_distance))) then -- Cancel Ranged Attack or WS If You Are Out Of Range --
- cancel_spell()
- add_to_chat(123, spell.name..' Canceled: [Out of Range]')
- return
- end
- end
- function precast(spell,action)
- if spell.name == "Ranged" then
- if player.equipment.ammo ~= 'empty' then
- if player.inventory[player.equipment.ammo].count < 5 then --Less than 5 ammo triggers a warning
- add_to_chat(8,"Ammo '"..player.inventory[player.equipment.ammo].shortname.."' running low ("..player.inventory[player.equipment.ammo].count.." Remain)")
- end
- end
- end
- if spell.type == "WeaponSkill" then
- equipSet = sets.WS
- if equipSet[spell.english] then
- equipSet = equipSet[spell.english]
- end
- if equipSet[ACC_Array[ACC_Index]] then
- equipSet = equipSet[ACC_Array[ACC_Index]]
- end
- if spell.name == "Tachi: Fudo" then
- if (player.tp > 2999 or buffactive.Sekkanoki or (player.tp > 1999 and buffactive.Hagakure)) then
- equipSet = set_combine(equipSet,{ear1="Trux earring"})
- elseif world.day == 'Lightsday' or world.day == 'Iceday' or world.day == 'Watersday' then
- equipSet = set_combine(equipSet,{head="Gavialis Helm"})
- end
- end
- if spell.name == "Tachi: Shoha" then
- if (player.tp > 2999 or buffactive.Sekkanoki or (player.tp > 1999 and buffactive.Hagakure)) then
- equipSet = set_combine(equipSet,{ear1="Trux earring"})
- elseif world.day == 'Darksday' or world.day == 'Thundersday' or world.day == 'Windsday' then
- equipSet = set_combine(equipSet,{head="Gavialis Helm"})
- end
- end
- equip(equipSet)
- end
- if spell.type == "JobAbility" then
- if sets.JA[spell.english] then
- equip(sets.JA[spell.english])
- end
- elseif spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
- if string.find(spell.english,'Utsusemi') then
- if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
- cancel_spell()
- add_to_chat(123, spell.name .. ' Canceled: [3+ Images]')
- return
- else
- equip(sets.Precast.FastCast)
- end
- else
- equip(sets.Precast.FastCast)
- end
- elseif spell.type == "Waltz" then
- equip(sets.Waltz)
- elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
- cast_delay(0.2)
- send_command('cancel Sneak')
- end
- if Twilight == 'ON' then
- equip(sets.Twilight)
- end
- if Armor == 'PDT' then
- equip(sets.PDT)
- end
- if Armor == 'MDT' then
- equip(sets.MDT)
- end
- if Mecisto == 'ON' then
- equip(sets.Mecisto)
- end
- if TH == 'ON' then
- equip(sets.TH)
- end
- if Mamool == 'ON' then
- equip(sets.Mamool)
- end
- if Movement == 'ON' then
- equip(sets.Movement)
- disable('feet')
- else
- enable('feet')
- end
- if Rings == 'ON' then
- equip(sets.Rings)
- end
- if buffactive["weakness"] then
- equip(sets.Twilight)
- disable('head','body')
- else
- enable('head','body')
- end
- if buffactive["Meikyo Shisui"] then
- equip(sets.OneHour)
- disable('feet')
- else
- enable('feet')
- end
- end
- function midcast(spell,action)
- if spell.action_type == 'Ranged Attack' then
- equip(sets.Preshot)
- end
- if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
- if string.find(spell.english,'Utsusemi') then
- if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then
- send_command('@wait 1.7;cancel Copy Image*')
- end
- equip(sets.Midcast.Haste)
- elseif spell.english == 'Monomi: Ichi' then
- if buffactive['Sneak'] then
- send_command('@wait 1.7;cancel sneak')
- end
- equip(sets.Midcast.Haste)
- else
- equip(sets.Midcast.Haste)
- end
- end
- end
- function aftercast(spell,action)
- if spell.english == "Warding Circle" and not spell.interrupted then -- Warding Circle Countdown
- send_command('wait 260;input /echo '..spell.name..' Effect: [WEARING OFF IN 10 SEC.];wait 10;input /echo '..spell.name..' Effect: [OFF]')
- end
- status_change(player.status)
- end
- function status_change(new,old)
- if player.equipment.range ~= 'empty' then
- disable('range','ammo')
- else
- enable('range','ammo')
- end
- if Armor == 'PDT' then
- equip(sets.PDT)
- elseif Armor == 'MDT' then
- equip(sets.MDT)
- elseif new == 'Engaged' then
- equipSet = sets.TP
- if equipSet[player.equipment.main] then
- equipSet = equipSet[player.equipment.main]
- end
- if equipSet[ACC_Array[ACC_Index]] then
- equipSet = equipSet[ACC_Array[ACC_Index]]
- end
- if buffactive.Aftermath and equipSet["AM"] then
- equipSet = equipSet["AM"]
- end
- if buffactive["Seigan"] and Seigan_T == 'ON' then
- equipSet = set_combine(equipSet,sets.TP["Seigan"])
- end
- equip(equipSet)
- else
- equip(sets.Idle[Idle_Array[Idle_Index]])
- end
- if Twilight == 'ON' then
- equip(sets.Twilight)
- end
- if Mecisto == 'ON' then
- equip(sets.Mecisto)
- end
- if Movement == 'ON' then
- equip(sets.Movement)
- disable('feet')
- else
- enable('feet')
- end
- if TH == 'ON' then
- equip(sets.TH)
- end
- if Rings == 'ON' then
- equip(sets.Rings)
- end
- if buffactive["Meikyo Shisui"] then
- equip(sets.OneHour)
- disable('feet')
- else
- enable('feet')
- end
- if buffactive["weakness"] then
- equip(sets.Twilight)
- disable('head','body')
- else
- enable('head','body')
- end
- end
- function buff_change(buff,gain)
- if buff == "Hasso" and Auto_Hasso == 'ON' then
- if not gain then
- send_command('Hasso')
- end
- elseif buff == "Seigan" and gain then
- status_change(player.status)
- else
- status_change(player.status)
- end
- if buff == "encumbrance" then
- if not gain then
- add_to_chat(200,"No longer Encumbered")
- equip(sets.Encumber[Encumber_Set_Names[Encumber_Index]])
- end
- end
- if buff == "sleep" and player.hp > 200 and player.status == "Engaged" then
- if gain then
- equip(sets.Slept)
- add_to_chat(39,"Slept: [Equipping Berserker's Torque]")
- else
- status_change(player.status)
- add_to_chat(200,"Awake: [Removing Berserker's Torque]")
- end
- end
- if buff == "Yaegasumi" then
- if gain then
- send_command('timers create "Yaegasumi" 45 down')
- else
- send_command('timers delete "Yaegasumi"')
- add_to_chat(158,'Yaegasumi: [OFF]')
- end
- end
- if buff == "weakness" then
- if gain then
- send_command('timers create "Weakness" 300 up abilities/00255.png')
- else
- send_command('timers delete "Weakness"')
- add_to_chat(158,'Unweak!')
- end
- end
- if buff == "Aftermath: Lv.3" then --Aftermath: lv.3
- if gain then
- send_command('timers create "Aftermath: Lv.3" 180 down;wait 120;input /echo Aftermath: Lv.3 [WEARING OFF IN 60 SEC.];wait 30;input /echo Aftermath: Lv.3 [WEARING OFF IN 30 SEC.];wait 20;input /echo Aftermath: Lv.3 [WEARING OFF IN 10 SEC.]')
- else
- send_command('timers delete "Aftermath: Lv.3"')
- add_to_chat(158,'Aftermath: lv.3: [OFF]')
- end
- end
- end
- --Toggle Self Commands with //gs c [command name]
- --Example type in chat //gs c acc (case sensitive)
- --Example Make a macro /console gs c acc (case sensitive)
- function self_command(command)
- if command == 'c2' then -- Acc Toggle for TP/WS/ --
- ACC_Index = (ACC_Index % #ACC_Array) + 1
- add_to_chat(207,'Accuracy Level TP/WS: '..ACC_Array[ACC_Index])
- status_change(player.status)
- elseif command == 'c1' then -- Idle Toggle --
- Idle_Index = (Idle_Index % #Idle_Array) + 1
- add_to_chat(207,'Idle Set: '..Idle_Array[Idle_Index])
- status_change(player.status)
- elseif command == 'c5' then -- PDT Toggle --
- if Armor == 'PDT' then
- Armor = 'None'
- add_to_chat(123,'PDT Set: [Unlocked]')
- else
- Armor = 'PDT'
- add_to_chat(158,'PDT Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'mdt' then -- MDT Toggle --
- if Armor == 'MDT' then
- Armor = 'None'
- add_to_chat(123,'MDT Set: [Unlocked]')
- else
- Armor = 'MDT'
- add_to_chat(158,'MDT Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'c4' then -- Seigan/ThirdEye Toggle --
- if Seigan_T == 'ON' then
- Seigan_T = 'OFF'
- add_to_chat(123,'Seigan Set: [Unlocked]')
- else
- Seigan_T = 'ON'
- add_to_chat(158,'Seigan Set: [Locked]')
- end
- status_change(player.status)
- elseif command == 'c7' then -- Twilight Toggle --
- if Twilight == 'ON' then
- Twilight = 'OFF'
- add_to_chat(123,'Twilight Set: [Unlocked]')
- else
- Twilight = 'ON'
- add_to_chat(158,'Twilight Set: [locked]')
- end
- status_change(player.status)
- elseif command == 'distance' then -- Distance Toggle --
- if player.target.distance then
- target_distance = math.floor(player.target.distance*10)/10
- add_to_chat(57,'Distance: '..target_distance)
- else
- add_to_chat(158,'No Target Selected')
- end
- elseif command == 'rive' then -- Rives Necklace --
- if TH == 'ON' then
- TH = 'OFF'
- add_to_chat(123,'Rives Necklace: [OFF]')
- else
- TH = 'ON'
- add_to_chat(158,'Rives Necklace: [ON]')
- end
- status_change(player.status)
- elseif command == 'rings' then -- Capacity/Warp Ring Toggle --
- if Rings == 'ON' then
- Rings = 'OFF'
- add_to_chat(123,'Capacity/Warp Ring: [OFF]')
- else
- Rings = 'ON'
- add_to_chat(158,'Capacity/Warp Ring: [ON]')
- end
- status_change(player.status)
- elseif command == 'c6' then -- Auto Hasso --
- if Auto_Hasso == 'ON' then
- Auto_Hasso = 'OFF'
- add_to_chat(123,'Auto Hasso: [OFF]')
- else
- Auto_Hasso = 'ON'
- add_to_chat(158,'Auto Hasso: [ON]')
- send_command('Hasso')
- end
- elseif command == 'c3' then -- Mecisto. Mantle Toggle --
- if Mecisto == 'ON' then
- Mecisto = 'OFF'
- add_to_chat(123,'Mecisto. Mantle: [Unlocked]')
- else
- Mecisto = 'ON'
- add_to_chat(158,'Mecisto. Mantle: [Locked]')
- end
- status_change(player.status)
- elseif command == 'movement' then -- Movement Toggle --
- if Movement == 'ON' then
- Movement = 'OFF'
- add_to_chat(57,'Movement Set: [OFF]')
- else
- Movement = 'ON'
- add_to_chat(158,'Movement Set: [ON]')
- end
- status_change(player.status)
- elseif command == 'encumber' then
- Encumber_Index = Encumber_Index +1
- if Encumber_Index > #Encumber_Set_Names then Encumber_Index = 1 end
- add_to_chat(207,'Encumber [Weapon] '..Encumber_Set_Names[Encumber_Index]..'')
- equip(sets.Encumber[Encumber_Set_Names[Encumber_Index]])
- elseif command == 'update' then -- Auto Update Gear Toggle --
- status_change(player.status)
- add_to_chat(207,'Auto Update Gear')
- elseif command == 'active' then -- Shows what sets and toggles are active --
- add_to_chat(8,'Current Active sets below...')
- add_to_chat(207,'Idle Set Active: '..Idle_Array[Idle_Index]..'')
- add_to_chat(207,'Accuracy Level TP/WS Active: '..ACC_Array[ACC_Index]..'')
- add_to_chat(207,'Target distance set to: '..target_distance..'')
- add_to_chat(207,'TH [Chaac Belt]: '..TH..'')
- add_to_chat(207,'CP [Mecisto. Mantle]: '..Mecisto..'')
- add_to_chat(207,'Capacity/Warp Rings: '..Rings..'')
- add_to_chat(207,'Auto [Hasso]: '..Auto_Hasso..'')
- add_to_chat(207,'Movement Set: '..Movement..'')
- add_to_chat(207,'Twilight Set: '..Twilight..'')
- add_to_chat(207,'Seigan-Third Eye Set: '..Seigan_T..'')
- add_to_chat(207,'PDT/MDT Set: '..Armor..'')
- end
- end
- function file_unload()
- send_command('unbind f10')
- send_command('unbind f9')
- end
Advertisement
Add Comment
Please, Sign In to add comment