[PoE-Wingman] - Auto-Flask, Auto-Quit & more (AHK, pixel) menu

User Tag List

Page 5 of 22 FirstFirst 123456789 ... LastLast
Results 61 to 75 of 325
  1. #61
    Forumuser1000's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2017
    Posts
    166
    Thanks G/R
    69/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hacker143 View Post
    THAANK YOU, about that bug i reported, it seems it cause conflict with my auto vaal skill cast
    ill just wait for your next update on adding the auto vaal.
    Wait, which plugin auto-casts vaal skills for us & how do we do that?

    These ads disappear when you log in.

  2. #62
    hacker143's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    145
    Thanks G/R
    28/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Aldoesk View Post
    New version out!

    Code:
    v1.2.1:
    
    NOTE: Some minor adjustments to the GUI have been made to support the newly implemented customization option of hotkeys. - added: Fully customizable hotkeys. You can now set your own Wingman hotkeys as well as transfer your own ingame bindings to work with Wingman. The latter is a necessity for the script to function properly.


    BUG REPORT:
    It seems version 1.1.1 is faster in triggering the flask and autoquit compare to higher versions

    Ive tested this a multiple times while in combat. Sad to say i have to stick to v1.1.1 because of its faster response. Currently playing HC and my char just died when i used the version 1.2.1 while v1.1.1 help me climb up to lvl92 safely.

    May i edit the v1.1.1with your permission Aldoesk?
    What should i change to make it to 60% in v1.1.1 source script?
    its this following line if i guess?

    -------------------------------------------------
    vX_Mana:=X + Round(Width / 1920 * 1825)
    vY_Mana10:=Y + Round(Hight / 1080 * 1054)
    -------------------------------------------------


    i tried changing 1054 to 954 but it doesnt seem to work. what number should i change of x1825 and y1054 to make it cast in 60%?

    EDIT:
    Its the Y value, i manange to make it work in 60% mana now.
    Last edited by hacker143; 04-08-2019 at 01:34 AM.

  3. #63
    gates21's Avatar Member
    Reputation
    1
    Join Date
    Jul 2017
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't get auto quit to work, do I just run cports and leave it open?

  4. #64
    hacker143's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    145
    Thanks G/R
    28/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gates21 View Post
    I can't get auto quit to work, do I just run cports and leave it open?
    did you try turning it On and OFF?
    lol

  5. #65
    Aldoesk's Avatar Active Member
    Reputation
    68
    Join Date
    Jan 2017
    Posts
    18
    Thanks G/R
    0/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Guys, thank you for all the reports.

    I just wanna let you know that I keep track of all your posts. At the moment I just don't have the time to react.
    Probably end of this week I have room to look into all reported issues and hopefully fix them.

    I'm sorry for any inconveniences you're undergoing.

  6. #66
    Aldoesk's Avatar Active Member
    Reputation
    68
    Join Date
    Jan 2017
    Posts
    18
    Thanks G/R
    0/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hacker143 View Post

    May i edit the v1.1.1with your permission Aldoesk?
    What should i change to make it to 60% in v1.1.1 source script?
    Of course you may edit it locally to fit your personal needs. Just dont publish it.

  7. #67
    Clotic's Avatar Member Authenticator enabled
    Reputation
    11
    Join Date
    Jun 2010
    Posts
    202
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    possible u could add identify items? Hold key and it identify items in inventory

  8. #68
    Gutsuu's Avatar Member
    Reputation
    12
    Join Date
    Feb 2017
    Posts
    10
    Thanks G/R
    13/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Aldoesk for the Script and the good looking GUI.

    I've dirty injected in the AHK-Script the pixelvalues for the resolution 3440x1440 (21:9). I didn't have the time to test everything but it seems fine. The problem with this way of workaround is, it has to be done every new version update.

    .ahk-Script

    Code:
    #IfWinActive Path of Exile
    #NoEnv
    #MaxhotkeysPerInterval 99000000
    #hotkeyInterval 99000000
    #KeyHistory 0
    #SingleInstance force
    #Warn UseEnv 
    #Persistent 
    ;~ #InstallMouseHook
    ;~ #InstallKeybdHook
    #MaxThreadsPerhotkey 2
    ListLines Off
    Process, Priority, , A
    SetBatchLines, -1
    SetKeyDelay, -1, -1
    SetMouseDelay, -1
    SetDefaultMouseSpeed, 0
    SetWinDelay, -1
    SetControlDelay, -1
    FileEncoding , UTF-8
    SendMode Input
    hotkey, IfWinActive, ahk_class POEWindowClass
    
    SetTitleMatchMode 3 
    CoordMode, Mouse, Screen
    CoordMode, Pixel, Screen
    SetWorkingDir %A_ScriptDir%  
    Thread, interrupt, 0
    
    I_Icon = %A_ScriptDir%\images\shield_charge_skill_icon.ico
    IfExist, %I_Icon%
      Menu, Tray, Icon, %I_Icon%
      
    if !A_IsAdmin
    {
       Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%"
    }
      
    Run %A_ScriptDir%\GottaGoFast.ahk
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Global variables
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    ;readFromFile()
    
    ;~ General
    ;~  Dont change the speed & the tick unless you know what you are doing
    global Speed=1
    global Tick=50
    
    ;~ Hotkeys
    global hotkeyOptions=!F10
    global hotkeyAutoQuit=!F11
    global hotkeyAutoFlask=!F12
    global hotkeyAutoQuicksilver=!MButton
    global hotkeyQuickPortal=!q
    global hotkeyGemSwap=!e
    global hotkeyGetMouseCoords=!o
    global hotkeyMove=LButton
    global hotkeyCloseAllUI=Space
    global hotkeyInventory=c
    global hotkeyWeaponSwapKey=x
    
    ;~ Coordinates
    global PortalScrollX=1859
    global PortalScrollY=616
    global GuiX=0
    global GuiY=1005
    
    ;~ Failsafe Colors
    global varHideout
    global varOnChar
    
    ;~ Life Colors
    global varLife20
    global varLife25
    global varLife30
    global varLife35
    global varLife40
    global varLife45
    global varLife50
    global varLife55
    global varLife60
    global varLife65
    global varLife70
    global varLife75
    global varLife80
    global varLife85
    global varLife90
    global varLife95
    
    ;~ ES Colors
    global varES20
    global varES25
    global varES30
    global varES35
    global varES40
    global varES45
    global varES50
    global varES55
    global varES60
    global varES65
    global varES70
    global varES75
    global varES80
    global varES85
    global varES90
    global varES95
    
    ;~ Mana Colors
    global varMana20
    global varMana25
    global varMana30
    global varMana35
    global varMana40
    global varMana45
    global varMana50
    global varMana55
    global varMana60
    global varMana65
    global varMana70
    global varMana75
    global varMana80
    global varMana85
    global varMana90
    global varMana95
    
    ;~ Gem Swap
    global Gem1X=1483
    global Gem1Y=372
    global Gem2X=1379 
    global Gem2Y=171
    global WeaponSwap=1
    
    ;~ Attack Buttons
    global AttackKey1="Q"
    global AttackKey2="W"
    
    ;~ Attack Triggers
    global TriggerAttackKey1=00000
    global TriggerAttackKey2=00000
    
    ;~ CharacterTypeCheck
    global Life=1
    global Hybrid=0
    global Ci=0
    
    ;~ Life Triggers
    global TriggerLife20=00000
    global TriggerLife25=00000
    global TriggerLife30=00000
    global TriggerLife35=00000
    global TriggerLife40=00000
    global TriggerLife45=00000
    global TriggerLife50=00000
    global TriggerLife55=00000
    global TriggerLife60=00000
    global TriggerLife65=00000
    global TriggerLife70=00000
    global TriggerLife75=00000
    global TriggerLife80=00000
    global TriggerLife85=00000
    global TriggerLife90=00000
    global TriggerLife95=00000
    ;~ global DisableLife=11111
    
    ;~ ES Triggers
    global TriggerES20=00000
    global TriggerES25=00000
    global TriggerES30=00000
    global TriggerES35=00000
    global TriggerES40=00000
    global TriggerES45=00000
    global TriggerES50=00000
    global TriggerES55=00000
    global TriggerES60=00000
    global TriggerES65=00000
    global TriggerES70=00000
    global TriggerES75=00000
    global TriggerES80=00000
    global TriggerES85=00000
    global TriggerES90=00000
    global TriggerES95=00000
    ;global DisableES=11111
    
    ;~ Mana Triggers
    global TriggerMana20=00000
    global TriggerMana25=00000
    global TriggerMana30=00000
    global TriggerMana35=00000
    global TriggerMana40=00000
    global TriggerMana45=00000
    global TriggerMana50=00000
    global TriggerMana55=00000
    global TriggerMana60=00000
    global TriggerMana65=00000
    global TriggerMana70=00000
    global TriggerMana75=00000
    global TriggerMana80=00000
    global TriggerMana85=00000
    global TriggerMana90=00000
    global TriggerMana95=00000
    
    ;~ AutoQuit
    global Quit20
    global Quit25
    global Quit30
    global Quit35
    global Quit40
    global Quit45
    global Quit50
    global CritQuit
    global NormalQuit
    
    ;~ Flask Cooldowns
    global CoolDownFlask1:=5000
    global CoolDownFlask2:=5000
    global CoolDownFlask3:=5000
    global CoolDownFlask4:=5000
    global CoolDownFlask5:=5000
    
    ;~ Quicksilver
    global QuicksilverDelay=0.8
    global TriggerQuicksilver=00000
    global Quicksilver1=0
    global Quicksilver2=0
    global Quicksilver3=0
    global Quicksilver4=0
    global Quicksilver5=0
    
    readFromFile()
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Extra vars - Not in INI
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    global Trigger=00000
    global AutoQuit=0 
    global AutoFlask=0
    global OnCoolDown:=[0,0,0,0,0]
    global NULL=0
    
    IfWinExist, ahk_class POEWindowClass
    {
        WinGetPos, X, Y, Width, Height
    	;~ Hideout Coords
    	global vX_Hideout:=X+Round(Width /1920*1241)
    	global vY_Hideout:=Y+Round(Height/1080* 951)
    	;~ OnChar Coords	
    	global vX_OnChar:= X+Round(2560 /1920*  41) 
    	global vY_OnChar:= Y+Round(Height/1080* 915)
    	;~ Life Coords	
    	global vX_Life:=   X+Round(2560 /1920*  95)
    	global vY_Life20:= Y+Round(Height/1080*1034)
    	global vY_Life25:= Y+Round(Height/1080*1024)
    	global vY_Life30:= Y+Round(Height/1080*1014)
    	global vY_Life35:= Y+Round(Height/1080*1004)
    	global vY_Life40:= Y+Round(Height/1080* 994)
    	global vY_Life45:= Y+Round(Height/1080* 984)
    	global vY_Life50:= Y+Round(Height/1080* 974)
    	global vY_Life55:= Y+Round(Height/1080* 964)
    	global vY_Life60:= Y+Round(Height/1080* 954)
    	global vY_Life65:= Y+Round(Height/1080* 944)
    	global vY_Life70:= Y+Round(Height/1080* 934)
    	global vY_Life75:= Y+Round(Height/1080* 924)
    	global vY_Life80:= Y+Round(Height/1080* 914)
    	global vY_Life85:= Y+Round(Height/1080* 904)
    	global vY_Life90:= Y+Round(Height/1080* 894)
    	global vY_Life95:= Y+Round(Height/1080* 884)
    	;~ ES Coords
    	global vX_ES:=	   X+Round(2560 /1920* 170)
    	global vY_ES20:=   Y+Round(Height/1080*1034)
    	global vY_ES25:=   Y+Round(Height/1080*1024)
    	global vY_ES30:=   Y+Round(Height/1080*1014)
    	global vY_ES35:=   Y+Round(Height/1080*1004)
    	global vY_ES40:=   Y+Round(Height/1080* 994)
    	global vY_ES45:=   Y+Round(Height/1080* 984)
    	global vY_ES50:=   Y+Round(Height/1080* 974)
    	global vY_ES55:=   Y+Round(Height/1080* 964)
    	global vY_ES60:=   Y+Round(Height/1080* 954)
    	global vY_ES65:=   Y+Round(Height/1080* 944)
    	global vY_ES70:=   Y+Round(Height/1080* 934)
    	global vY_ES75:=   Y+Round(Height/1080* 924)
    	global vY_ES80:=   Y+Round(Height/1080* 914)
    	global vY_ES85:=   Y+Round(Height/1080* 904)
    	global vY_ES90:=   Y+Round(Height/1080* 894)
    	global vY_ES95:=   Y+Round(Height/1080* 884)
    	;~ Mana Coords
    	global vX_Mana:=   X+Round(Width /1920*1825)
    	global vY_Mana20:= Y+Round(Height/1080*1034)
    	global vY_Mana25:= Y+Round(Height/1080*1024)
    	global vY_Mana30:= Y+Round(Height/1080*1014)
    	global vY_Mana35:= Y+Round(Height/1080*1004)
    	global vY_Mana40:= Y+Round(Height/1080* 994)
    	global vY_Mana45:= Y+Round(Height/1080* 984)
    	global vY_Mana50:= Y+Round(Height/1080* 974)
    	global vY_Mana55:= Y+Round(Height/1080* 964)
    	global vY_Mana60:= Y+Round(Height/1080* 954)
    	global vY_Mana65:= Y+Round(Height/1080* 944)
    	global vY_Mana70:= Y+Round(Height/1080* 934)
    	global vY_Mana75:= Y+Round(Height/1080* 924)
    	global vY_Mana80:= Y+Round(Height/1080* 914)
    	global vY_Mana85:= Y+Round(Height/1080* 904)
    	global vY_Mana90:= Y+Round(Height/1080* 894)
    	global vY_Mana95:= Y+Round(Height/1080* 884)
    }
    else
    {
    	global vX_Hideout:=1241
    	global vY_Hideout:= 951
    	
    	global vX_OnChar:= 	 41
    	global vY_OnChar:=  915
    	
    	global vX_Life:=	 95	
    	global vY_Life20:= 1034
    	global vY_Life25:= 1024
    	global vY_Life30:= 1014
    	global vY_Life35:= 1004
    	global vY_Life40:=  994
    	global vY_Life45:=  984
    	global vY_Life50:=  974
    	global vY_Life55:=  964
    	global vY_Life60:=  954
    	global vY_Life65:=  944
    	global vY_Life70:=  934
    	global vY_Life75:=  924
    	global vY_Life80:=  914
    	global vY_Life85:=  904
    	global vY_Life90:=  894
    	global vY_Life95:=  884
    	
    	global vX_ES:=		170	
    	global vY_ES20:=   1034
    	global vY_ES25:=   1024
    	global vY_ES30:=   1014
    	global vY_ES35:=   1004
    	global vY_ES40:=	994
    	global vY_ES45:=	984
    	global vY_ES50:=	974
    	global vY_ES55:=	964
    	global vY_ES60:=	954
    	global vY_ES65:=	944
    	global vY_ES70:=	934
    	global vY_ES75:=	924
    	global vY_ES80:=	914
    	global vY_ES85:=	904
    	global vY_ES90:=	894
    	global vY_ES95:=	884
    	
    	global vX_Mana:=   1825
    	global vY_Mana20:= 1034
    	global vY_Mana25:= 1024
    	global vY_Mana30:= 1014
    	global vY_Mana35:= 1004
    	global vY_Mana40:=	994
    	global vY_Mana45:=	984
    	global vY_Mana50:=	974
    	global vY_Mana55:=	964
    	global vY_Mana60:=	954
    	global vY_Mana65:=	944
    	global vY_Mana70:=	934
    	global vY_Mana75:=	924
    	global vY_Mana80:=	914
    	global vY_Mana85:=	904
    	global vY_Mana90:=	894
    	global vY_Mana95:=	884
    }
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Check presence of cports
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    IfNotExist, cports.exe
    {
    UrlDownloadToFile, http://lutbot.com/ahk/cports.exe, cports.exe
            if ErrorLevel
                    MsgBox, Error ED02 : There was a problem downloading cports.exe
    UrlDownloadToFile, http://lutbot.com/ahk/cports.chm, cports.chm
            if ErrorLevel
                    MsgBox, Error ED03 : There was a problem downloading cports.chm 
    UrlDownloadToFile, http://lutbot.com/ahk/readme.txt, readme.txt
            if ErrorLevel
                    MsgBox, Error ED04 : There was a problem downloading readme.txt
    }
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Standard ini read
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    If FileExist("settings.ini"){ 
    
    	;~ General
    	IniRead, Speed, settings.ini, General, Speed
    	IniRead, Tick, settings.ini, General, Tick
    	IniRead, QTick, settings.ini, General, QTick
    	;~ Coordinates
    	IniRead, GuiX, settings.ini, Coordinates, GuiX
    	IniRead, GuiY, settings.ini, Coordinates, GuiY
    	readFromFile()
     	
    } else {
    	
    	;~ General
    	IniWrite, %Speed%, settings.ini, General, Speed
    	IniWrite, %Tick%, settings.ini, General, Tick
    	IniWrite, %QTick%, settings.ini, General, QTick
    	;~ Coordinates
    	IniWrite, %GuiX%, settings.ini, Coordinates, GuiX
    	IniWrite, %GuiY%, settings.ini, Coordinates, GuiY
    }
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  PoE-Wingman Gui Settings
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    IfWinExist, ahk_class POEWindowClass 
    {
    	varTextSave:="Save"
    	varTextSaveHint:="Save only while on your character!"
    	varTextHideout:="Get ALL Failsafe Colors"
    	varTextOnChar:="Get OnChar Failsafe Color"
    }
    else
    {
    	varTextSave:="Save `n(POE has to be running)"
    	varTextSaveHint:=""
    	varTextHideout:="(POE has to be running)"
    	varTextOnChar:="(POE has to be running)"
    }
    GuiControl,, SaveBtn, %varTextSave%
    GuiControl,, UpdateHideoutBtn, %varTextHideout%
    GuiControl,, UpdateOnCharBtn, %varTextOnChar%
    
    Gui,Margin,10,10
    Gui,Font,s10,Arial
    Gui Add,Tab2,Section 	 xm 	ym w1035 h645 -wrap,Configuration|Failsafe
    ;~ ####################################################################################################### Configuration Tab
    Gui, Tab, Configuration
    ;~ League Logo
    Gui,Add,Picture,		 xm+280	ym+45 w250 h-1											,%A_ScriptDir%\images\LeagueLogo.png
    ;~ =========================================================================================== Group: Auto-Flask
    Gui,Font,s9 cBlack Bold Underline
    Gui,Add,GroupBox,Section xs+12  ys+30 w577 h490											,AUTO-FLASK
    Gui,Font,
    Gui,Font,s9,Arial
    ;~ =========================================================================================== Subgroup: Character Type
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs+20  ys+25 w205 h53											,Character Type
    Gui,Font,Norm
    Gui,Add,Picture,		 xs+16  ys+18 w24 h-1	vTypeLife			gUpdateTypeLife		,%A_ScriptDir%\images\LifeOrb.png
    TypeLife_TT:="Life"
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vTypeLifeInactive 	gUpdateTypeLife		,%A_ScriptDir%\images\LifeOrbInactive.png
    TypeLifeInactive_TT:="Life"
    Gui,Add,Picture,		 x+50  		  w24 h-1	vTypeHybrid 		gUpdateTypeHybrid	,%A_ScriptDir%\images\HybridOrb.png
    TypeHybrid_TT:="Hybrid"
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vTypeHybridInactive	gUpdateTypeHybrid	,%A_ScriptDir%\images\HybridOrbInactive.png
    TypeHybridInactive_TT:="Hybrid"
    Gui,Add,Picture,		 x+50  		  w24 h-1	vTypeCi 			gUpdateTypeCi		,%A_ScriptDir%\images\ESOrb.png
    TypeCi_TT:="CI / Low life"
    Gui,Add,Picture,		 xp 	yp    w24 h-1	vTypeCiInactive		gUpdateTypeCi		,%A_ScriptDir%\images\ESOrbInactive.png
    TypeCiInactive_TT:="CI / Low life"
    ;~ =========================================================================================== Subgroup: Flasks
    Gui,Font,Bold
    Gui,Add,Groupbox,Section xs     y+18 w535 h385							,Flasks
    Gui,Font,Norm
    Gui,Font,
    Gui,Font,s9,Arial
    ;~ ---------------------------------------------------------------------------------- Duration
    Gui,Add,Text,Section	 xs+16  ys+40									,Duration/CD:
    Gui,Add,Edit,			 xs+117 ys-2 	  h19 w41	vCooldownFlask1 		,%CooldownFlask1%
    CooldownFlask1_TT:="in ms"
    Gui,Add,Edit,			 x+41	 	 	  h19 w41	vCooldownFlask2 		,%CooldownFlask2%
    CooldownFlask2_TT:="in ms"
    Gui,Add,Edit,			 x+41	 	 	  h19 w41	vCooldownFlask3 		,%CooldownFlask3%
    CooldownFlask3_TT:="in ms"
    Gui,Add,Edit,			 x+41	 	 	  h19 w41	vCooldownFlask4 		,%CooldownFlask4%
    CooldownFlask4_TT:="in ms"
    Gui,Add,Edit,			 x+41	 	 	  h19 w41	vCooldownFlask5 		,%CooldownFlask5%
    CooldownFlask5_TT:="in ms"
    ;~ ---------------------------------------------------------------------------------- Flask Boxes
    Gui,Add,Groupbox, 		 xs+100 ys-20 w75 h350							,Flask 1
    Gui,Add,Groupbox, 		 x+7 		  w75 h350							,Flask 2
    Gui,Add,Groupbox, 		 x+7 		  w75 h350							,Flask 3
    Gui,Add,Groupbox, 		 x+7 		  w75 h350							,Flask 4
    Gui,Add,Groupbox, 		 x+7 		  w75 h350							,Flask 5
    ;~ ---------------------------------------------------------------------------------- Threshold
    Gui,Add,Text,Section	 xs  	ys+30			vTreshold				,Threshold:
    ;~ Life Triggers
    Gui,Add,Slider,	  	 	 xs+110	ys+18 w26 h150  vSliderLife1 gSliderLife1 vertical invert range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56  	      w26 h150  vSliderLife2 gSliderLife2 vertical invert range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56 	   	  w26 h150  vSliderLife3 gSliderLife3 vertical invert range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56 	   	  w26 h150  vSliderLife4 gSliderLife4 vertical invert range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56 	   	  w26 h150  vSliderLife5 gSliderLife5 vertical invert range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Picture,		 xs+126 ys-6  w24 h-1	vLifeOrb1 	 gLifeOrb1 	,%A_ScriptDir%\images\LifeOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vLifeOrb2 	 gLifeOrb2	,%A_ScriptDir%\images\LifeOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vLifeOrb3 	 gLifeOrb3	,%A_ScriptDir%\images\LifeOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vLifeOrb4 	 gLifeOrb4	,%A_ScriptDir%\images\LifeOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vLifeOrb5 	 gLifeOrb5	,%A_ScriptDir%\images\LifeOrb.png
    ;~ ES Triggers
    Gui,Add,Slider,	  	 	 xs+135	ys+18 w30 h150  vSliderES1 	 gSliderES1 vertical invert left range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+52  	      w30 h150  vSliderES2 	 gSliderES2 vertical invert left range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+52 	   	  w30 h150  vSliderES3 	 gSliderES3 vertical invert left range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+52 	   	  w30 h150  vSliderES4 	 gSliderES4 vertical invert left range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+52 	   	  w30 h150  vSliderES5 	 gSliderES5 vertical invert left range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Picture,		 xs+126 ys-6  w24 h-1	vESOrb1 	 gESOrb1	,%A_ScriptDir%\images\ESOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vESOrb2 	 gESOrb2	,%A_ScriptDir%\images\ESOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vESOrb3 	 gESOrb3	,%A_ScriptDir%\images\ESOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vESOrb4 	 gESOrb4	,%A_ScriptDir%\images\ESOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vESOrb5 	 gESOrb5	,%A_ScriptDir%\images\ESOrb.png
    ;~ Hybrid Triggers
    Gui,Add,Picture,		 xs+126 ys-6  w24 h-1	vHybridOrb1 	 gHybridOrb1	,%A_ScriptDir%\images\HybridOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vHybridOrb2 	 gHybridOrb2	,%A_ScriptDir%\images\HybridOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vHybridOrb3 	 gHybridOrb3	,%A_ScriptDir%\images\HybridOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vHybridOrb4 	 gHybridOrb4	,%A_ScriptDir%\images\HybridOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vHybridOrb5 	 gHybridOrb5	,%A_ScriptDir%\images\HybridOrb.png
    ;~ Mana Triggers
    Gui,Add,Slider,	  	 	 xs+125	ys+18 w26 h150  vSliderMana1 	 gSliderMana1 Center vertical invert noticks range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56  	      w26 h150  vSliderMana2 	 gSliderMana2 Center vertical invert noticks range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56 	   	  w26 h150  vSliderMana3 	 gSliderMana3 Center vertical invert noticks range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56 	   	  w26 h150  vSliderMana4 	 gSliderMana4 Center vertical invert noticks range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Slider,		 	 x+56 	   	  w26 h150  vSliderMana5 	 gSliderMana5 Center vertical invert noticks range1-17 tickinterval1-100 AltSubmit,0
    Gui,Add,Picture,		 xs+126 ys-6  w24 h-1	vManaOrb1 	 gManaOrb1	,%A_ScriptDir%\images\ManaOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vManaOrb2 	 gManaOrb2	,%A_ScriptDir%\images\ManaOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vManaOrb3 	 gManaOrb3	,%A_ScriptDir%\images\ManaOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vManaOrb4 	 gManaOrb4	,%A_ScriptDir%\images\ManaOrb.png
    Gui,Add,Picture,		 x+58 	 	  w24 h-1	vManaOrb5 	 gManaOrb5	,%A_ScriptDir%\images\ManaOrb.png
    ;~ ---------------------------------------------------------------------------------- Quicksilver Delay
    Gui,Add,Text,Section	 xs  	ys+185							,Quicksilver
    Gui,Add,Text,			 xs+5  	yp+18							,Delay:
    Gui,Add,Edit, 			 xs+49 	y+-17 w30 h19 vQuicksilverDelay	,%QuicksilverDelay%
    QuicksilverDelay_TT:="in seconds"
    ;~ ---------------------------------------------------------------------------------- Quicksilver Flasks
    Gui,Add,Picture,		 xs+108	ys-5 w24 h-1	vQuicksilverFlask1 				gUpdateQuicksilver1			,%A_ScriptDir%\images\QuicksilverFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vQuicksilverFlaskInactive1		gUpdateQuicksilverInactive1	,%A_ScriptDir%\images\QuicksilverFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vQuicksilverFlask2 				gUpdateQuicksilver2			,%A_ScriptDir%\images\QuicksilverFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vQuicksilverFlaskInactive2		gUpdateQuicksilverInactive2	,%A_ScriptDir%\images\QuicksilverFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vQuicksilverFlask3 				gUpdateQuicksilver3			,%A_ScriptDir%\images\QuicksilverFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vQuicksilverFlaskInactive3		gUpdateQuicksilverInactive3	,%A_ScriptDir%\images\QuicksilverFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vQuicksilverFlask4 				gUpdateQuicksilver4			,%A_ScriptDir%\images\QuicksilverFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vQuicksilverFlaskInactive4		gUpdateQuicksilverInactive4	,%A_ScriptDir%\images\QuicksilverFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vQuicksilverFlask5 				gUpdateQuicksilver5			,%A_ScriptDir%\images\QuicksilverFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vQuicksilverFlaskInactive5		gUpdateQuicksilverInactive5	,%A_ScriptDir%\images\QuicksilverFlaskInactive.png
    ;~ ---------------------------------------------------------------------------------- Mana Flasks
    Gui,Add,Picture,		 xs+143	ys-5 w24 h-1	vManaFlask1 		gUpdateMana1		,%A_ScriptDir%\images\ManaFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vManaFlaskInactive1	gUpdateManaInactive1,%A_ScriptDir%\images\ManaFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vManaFlask2 		gUpdateMana2		,%A_ScriptDir%\images\ManaFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vManaFlaskInactive2	gUpdateManaInactive2,%A_ScriptDir%\images\ManaFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vManaFlask3 		gUpdateMana3		,%A_ScriptDir%\images\ManaFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vManaFlaskInactive3	gUpdateManaInactive3,%A_ScriptDir%\images\ManaFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vManaFlask4 		gUpdateMana4		,%A_ScriptDir%\images\ManaFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vManaFlaskInactive4	gUpdateManaInactive4,%A_ScriptDir%\images\ManaFlaskInactive.png
    Gui,Add,Picture,		 x+58		  w24 h-1	vManaFlask5			gUpdateMana5		,%A_ScriptDir%\images\ManaFlask.png
    Gui,Add,Picture,		 xp 	yp 	  w24 h-1	vManaFlaskInactive5	gUpdateManaInactive5,%A_ScriptDir%\images\ManaFlaskInactive.png
    ;~ ---------------------------------------------------------------------------------- Attack Keys
    Gui,Add,Text,Section	 xs  	ys+45							,Attack Keys:
    Gui,Add,Text,			 xs+5  	yp+18							,1)
    Gui,Add,Edit, 			 x+3 	y+-17 w60 h19  	vAttackKey1 	,%AttackKey1%
    AttackKey1_TT:="Key to trigger selected flasks"
    Gui,Add, Checkbox, 		 xs+131	y+-15 w14 h14 	vAttackKey1box1 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey1box2 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey1box3 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey1box4 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey1box5
    Gui,Add,Text,			 xs+5  	yp+20							,2)
    Gui,Add,Edit, 			 x+3 	y+-17 w60 h19  	vAttackKey2 	,%AttackKey2%
    AttackKey2_TT:="Key to trigger selected flasks"
    Gui,Add, Checkbox, 		 xs+131	y+-15 w14 h14 	vAttackKey2box1 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey2box2 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey2box3 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey2box4 
    Gui,Add, Checkbox, 		 x+68		  w14 h14 	vAttackKey2box5
    ;~ =========================================================================================== Group: Auto-Quit
    Gui,Font,s9 cBlack Bold Underline
    Gui,Add,GroupBox,Section xm+12  yp+75 w577 h100											,AUTO-QUIT
    Gui,Font,
    Gui,Font,s9,Arial
    ;~ =========================================================================================== Subgroup: Threshold
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs+20 	ys+25 w310 h53											,Threshold
    Gui,Font,Norm
    Gui,Add,Picture,		 xs+16 	ys+18 w24 h-1	vLifeOrbQuit1 		,%A_ScriptDir%\images\LifeOrb.png
    Gui,Add,Picture,		 xp 	yp    w24 h-1	vESOrbQuit1 		,%A_ScriptDir%\images\ESOrb.png
    Gui,Add,Slider,	  	 	 xs+47	ys+15 w217 h30  vSliderQuit gSliderQuit range1-7 left tickinterval1-100 AltSubmit,0
    Gui,Add,Picture,		 x+8	ys+18 w24 h-1	vLifeOrbQuit2 		,%A_ScriptDir%\images\LifeOrb.png
    Gui,Add,Picture,		 xp 	yp    w24 h-1	vESOrbQuit2			,%A_ScriptDir%\images\ESOrb.png
    ;~ =========================================================================================== Subgroup: Method
    Gui,Font,Bold
    Gui,Add,GroupBox,Section x+25  	ys w215 h53							,Quit Method
    Gui,Font,Norm
    Gui,Add,Radio,Group	 	 xs+16  ys+23			vRadioCritQuit		,cports
    Gui,Add,Radio, 		 	 x+19					vRadioNormalQuit	,normal /exit
    ;~ =========================================================================================== Group: Quality of Life
    Gui,Font,s9 cBlack Bold Underline
    Gui,Add,GroupBox,Section xm+608 ym+30 w412 h145											,QUALITY OF LIFE
    Gui,Font,
    Gui,Font,s9,Arial
    ;~ =========================================================================================== Subgroup: Gem Swap
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs+20 	ys+25 w180 h100											,Gem-Swap
    Gui,Font,Norm
    Gui,Add,Text,	 		 xs+16  ys+23									,Gem 1:
    Gui,Add,Edit, 			 x+18 	y+-17 w41 h19  	vGem1X 					,%Gem1X%
    Gem1X_TT:="X-Coordinate"
    Gui,Add,Edit, 			 x+5 	yp 	  w41 h19  	vGem1Y 					,%Gem1Y%
    Gem1Y_TT:="Y-Coordinate"
    Gui,Add,Text,	 		 xs+16  y+10									,Gem 2:
    Gui,Add,Edit, 			 x+18 	y+-17 w41 h19  	vGem2X 					,%Gem2X%
    Gem2X_TT:="X-Coordinate"
    Gui,Add,Edit, 			 x+5 	yp 	  w41 h19  	vGem2Y 					,%Gem2Y%
    Gem2Y_TT:="Y-Coordinate"
    Gui,Add,Text,	 		 xs+16  y+10									,Needs Weapon Swap?
    Gui,Add,Checkbox, 		 x+5 	y+-15 w14 h14	vWeaponSwap
    ;~ =========================================================================================== Subgroup: Method
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs+190 ys  w180 h53							,Quick-Portal
    Gui,Font,Norm
    Gui,Add,Text,	 		 xs+16  ys+23									,Scroll:
    Gui,Add,Edit, 			 x+24 	y+-17 w41 h19  	vPortalScrollX 			,%PortalScrollX%
    PortalScrollX_TT:="X-Coordinate"
    Gui,Add,Edit, 			 x+5 	yp 	  w41 h19  	vPortalScrollY 			,%PortalScrollY%
    PortalScrollY_TT:="Y-Coordinate"
    ;~ =========================================================================================== Group: Hotkeys
    Gui,Font,s9 cBlack Bold Underline
    Gui,Add,GroupBox,Section xm+608 yp+110 w412 h275											,HOTKEYS
    Gui,Font,
    Gui,Font,s9,Arial
    ;~ =========================================================================================== Subgroup: Wingman
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs+20 	ys+25 w182 h230											,Wingman
    Gui,Font,Norm
    Gui,Font,s8,Arial
    Gui,Add,Text,	 		 xs+16  ys+23			,Open this GUI:
    ;~ Gui,Add,Text, 			 x160 	y17 vguiSettings			,Settings:%hotkeyOptions%
    Gui,Add,Text,	 		   		y+9				,Toggle
    Gui,Add,Text,	 		   		y+9				,%A_Space%%A_Space%%A_Space%Auto-Quit:
    Gui,Add,Text,	 		   		y+9				,%A_Space%%A_Space%%A_Space%Auto-Flask:
    Gui,Add,Text,	 		   		y+9				,%A_Space%%A_Space%%A_Space%Auto-Quicksilver:
    Gui,Add,Text,	 		   		y+9				,Quick-Portal:
    Gui,Add,Text,	 		   		y+9				,Gem-Swap:
    Gui,Add,Text,	 		   		y+9				,Stash-Scroll:
    Gui,Add,Text,	 		   		y+9				,Get Mouse Coords:
    Gui,Add,Edit,			 xs+115 ys+20 w60 h19 	vguihotkeyOptions			,%hotkeyOptions%
    guihotkeyOptions_TT:="Set your own hotkey here"
    ;~ Gui,Add,Edit,			 		y+4   w60 h19 	vguihotkeyMove				,%hotkeyMove%
    Gui,Add,Edit,			 		y+27  w60 h19 	vguihotkeyAutoQuit			,%hotkeyAutoQuit%
    guihotkeyAutoQuit_TT:="Set your own hotkey here"
    Gui,Add,Edit,			 		y+4   w60 h19 	vguihotkeyAutoFlask			,%hotkeyAutoFlask%
    guihotkeyAutoFlask_TT:="Set your own hotkey here"
    Gui,Add,Edit,			 		y+4   w60 h19 	vguihotkeyAutoQuicksilver	,%hotkeyAutoQuicksilver%
    guihotkeyAutoQuicksilver_TT:="Set your own hotkey here"
    Gui,Add,Edit,			 		y+4   w60 h19 	vguihotkeyQuickPortal		,%hotkeyQuickPortal%
    guihotkeyQuickPortal_TT:="Set your own hotkey here"
    Gui,Add,Edit,			 		y+4   w60 h19 	vguihotkeyGemSwap			,%hotkeyGemSwap%
    guihotkeyGemSwap_TT:="Set your own hotkey here"
    Gui,Add,Edit,	 		   		y+4   w60 h19 	vguihotkeyStashScroll		,!Wheel
    guihotkeyStashScroll_TT:="Customization disabled for now"
    GuiControl,Disable,								guihotkeyStashScroll
    ;~ Gui,Add,hotkey,			 		y+4   w100 h19 	vguihotkeyStashScroll		,%hotkeyStashScroll%
    Gui,Add,Edit,			 		y+4   w60 h19 	vguihotkeyGetMouseCoords	,%hotkeyGetMouseCoords%
    guihotkeyGetMouseCoords_TT:="Set your own hotkey here"
    Gui,Font,s9,Arial
    ;~ =========================================================================================== Subgroup: Ingame
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs+190 ys    w180 h120							,Assigned keys ingame
    Gui,Font,Norm
    Gui,Font,s8,Arial
    Gui,Add,Text,	 		 xs+16  ys+23				,Move Key:
    Gui,Add,Text,	 		   		y+9					,Close All UI:
    Gui,Add,Text,	 		   		y+9					,Inventory:
    Gui,Add,Text,	 		   		y+9					,Weapon Swap:
    Gui,Add,Edit,			 xs+115	ys+20 w60 h19 	vguihotkeyMove				,%hotkeyMove%
    guihotkeyMove_TT:="Put your ingame assigned hotkey here"
    Gui,Add,Edit,			  		y+4   w60 h19 	vguihotkeyCloseAllUI		,%hotkeyCloseAllUI%
    guihotkeyCloseAllUI_TT:="Put your ingame assigned hotkey here"
    Gui,Add,Edit,			  		y+4   w60 h19 	vguihotkeyInventory			,%hotkeyInventory%
    guihotkeyInventory_TT:="Put your ingame assigned hotkey here"
    Gui,Add,Edit,			  		y+4   w60 h19 	vguihotkeyWeaponSwapKey		,%hotkeyWeaponSwapKey%
    guihotkeyWeaponSwapKey_TT:="Put your ingame assigned hotkey here"
    Gui,Font,s9,Arial
    ;~ =========================================================================================== Subgroup: Hints
    Gui,Font,Bold
    Gui,Add,GroupBox,Section xs		y+18    w180 h104							,Hints
    Gui,Font,Norm
    Gui,Font,s8,Arial
    Gui,Add,Text,	 		 xs+16  ys+23				,!%A_Tab%=%A_Space%%A_Space%%A_Space%%A_Space%%A_Space%ALT
    Gui,Add,Text,	 		   		y+9					,^%A_Tab%=%A_Space%%A_Space%%A_Space%%A_Space%%A_Space%CTRL
    Gui,Add,Text,	 		   		y+9					,+%A_Tab%=%A_Space%%A_Space%%A_Space%%A_Space%%A_Space%SHIFT
    ;~ =========================================================================================== Group: Save
    Gui,Font,s9 cBlack Bold
    Gui,Add,Button,Section default  xm+708	ys+202 w222 h40 vSaveBtn 	gupdateEverything 	,%varTextSave%
    Gui,Font,
    Gui,Font,cRed
    Gui,Add,Text,			 xs+30 												,%varTextSaveHint%
    Gui,Font,
    Gui,Font,s9,Arial
    Gui,Add,Button,  		 xs+45 	yp-5  w136 h23 vRefreshBtn 	gRefreshGUI 		,Check again
    
    ;~ ####################################################################################################### Failsafe Tab
    Gui,Tab,Failsafe
    ;~ =========================================================================================== Failsafe Instructions
    Gui,Font,s9 cBlack Bold Underline
    Gui,Add,GroupBox,Section xm+12  ym+30 w590 h185											,FAILSAFE INSTRUCTIONS
    Gui,Font,
    Gui,Font,s9,Arial
    
    Gui,Add,Text, 			 xs+20  ys+25	,The following buttons only need to be dealed with if one of the following is true:
    Gui,Add,Text, 			 xp+10	y+5		,1) You do run Poe-Wingman or a new version of it for the very first time.
    Gui,Add,Text, 					y+5		,2) You did change the resolution of PoE.
    Gui,Add,Text, 					y+5		,3) You just aquired your very first Hideout.
    Gui,Add,Text, 			 xs+20	y+20	,If you do own a Hideout, get in there and press Button A:
    ;~ Update Hideout
    Gui,Add,Button, 		 x+10	y+-18 w240 h23 	vUpdateHideoutBtn 	gupdateHideout ,%varTextHideout%
    Gui,Add,Text, 			 xs+20 	y+5		,If you got no Hideout yet, go ingame on a Character and press Button B:
    ;~ Update OnChar
    Gui,Add,Button, 	     x+10	y+-18 w154 h23  vUpdateOnCharBtn 	gupdateOnChar  ,%varTextOnChar%
    ;~ ####################################################################################################### End of GUI Creation
    Gui,+LastFound
    Gui,Show,Autosize Center, 	PoE-Wingman GUI
    Menu,Tray,Tip, 				PoE-Wingman
    Menu,Tray,NoStandard
    Menu,Tray,Add, 				PoE-Wingman GUI, optionsCommand
    Menu,Tray,Default, 			PoE-Wingman GUI
    Menu,Tray,Add
    Menu,Tray,Standard
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  END of PoE-Wingman Gui Settings
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    OnMessage(0x200, "WM_MOUSEMOVE")
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  GUI ini read / setup
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    IfExist, settings.ini 
    {
    	Loop, 5 {
    		Iniread, CooldownFlask%A_Index%, settings.ini, Flask Cooldowns, CooldownFlask%A_index%
    		valueCooldownFlask := CooldownFlask%A_Index%
    		GuiControl, , CooldownFlask%A_Index%, %valueCooldownFlask%
    		
    		Iniread, SliderLife%A_Index%, settings.ini, Life Triggers, SliderLife%A_Index%
    		valueSliderLife := SliderLife%A_Index%
    		GuiControl, , SliderLife%A_Index%, %valueSliderLife%
    		
    		Iniread, SliderES%A_Index%, settings.ini, ES Triggers, SliderES%A_Index%
    		valueSliderES := SliderES%A_Index%
    		GuiControl, , SliderES%A_Index%, %valueSliderES%
    		
    		Iniread, SliderMana%A_Index%, settings.ini, Mana Triggers, SliderMana%A_Index%
    		valueSliderMana := SliderMana%A_Index%
    		GuiControl, , SliderMana%A_Index%, %valueSliderMana%
    		
    		;~ Iniread, DisableLife%A_Index%, settings.ini, Life Triggers, DisableLife%A_Index%
    		;~ valueDisableLife := DisableLife%A_Index%
    		;~ GuiControl, , SliderLife%A_Index%, %valueDisableLife%
    		
    		;~ Iniread, DisableES%A_Index%, settings.ini, ES Triggers, DisableES%A_Index%
    		;~ valueDisableES := DisableES%A_Index%
    		;~ GuiControl, , SliderES%A_Index%, %valueDisableES%
    		
    		;~ Iniread, DisableMana%A_Index%, settings.ini, Mana Triggers, DisableMana%A_Index%
    		;~ valueDisableMana := DisableMana%A_Index%
    		;~ GuiControl, , SliderMana%A_Index%, %valueDisableMana%
    		
    		;~ Iniread, TriggerQuicksilver, settings.ini, Quicksilver, TriggerQuicksilver
    		;~ valueQuicksilver := substr(TriggerQuicksilver, (A_Index), 1)
    		;~ GuiControl, , Radiobox%A_Index%QS, %valueQuicksilver%
    		
    		Iniread, Quicksilver%A_Index%, settings.ini, Quicksilver, Quicksilver%A_Index%
    		QuicksilverFlask%A_Index% := Quicksilver%A_Index%
    		;~ GuiControl, , QuicksilverFlask%A_Index%, %valueQuicksilver%
    		
    		Iniread, TriggerAttackKey1, settings.ini, Attack Triggers, TriggerAttackKey1
    		valueMainAttack := substr(TriggerAttackKey1, (A_Index), 1)
    		GuiControl, , AttackKey1box%A_Index%, %valueMainAttack%
    		
    		Iniread, TriggerAttackKey2, settings.ini, Attack Triggers, TriggerAttackKey2
    		valueSecondaryAttack := substr(TriggerAttackKey2, (A_Index), 1)
    		GuiControl, , AttackKey2box%A_Index%, %valueSecondaryAttack%
    	}
    	
    	Iniread, Gem1X, settings.ini, Gem Swap, Gem1X
    	valueGem1X := Gem1X
    	GuiControl, , Gem1X, %valueGem1X%
    	
    	Iniread, Gem1Y, settings.ini, Gem Swap, Gem1Y
    	valueGem1Y := Gem1Y
    	GuiControl, , Gem1Y, %valueGem1Y%
    	
    	Iniread, Gem2X, settings.ini, Gem Swap, Gem2X
    	valueGem2X := Gem2X
    	GuiControl, , Gem2X, %valueGem2X%
    	
    	Iniread, Gem2Y, settings.ini, Gem Swap, Gem2Y
    	valueGem2Y := Gem2Y
    	GuiControl, , Gem2Y, %valueGem2Y%
    	
    	Iniread, WeaponSwap, settings.ini, Gem Swap, WeaponSwap
    	valueWeaponSwap := WeaponSwap
    	GuiControl, , WeaponSwap, %valueWeaponSwap%
    
    	Iniread, AttackKey1, settings.ini, Attack Keys, AttackKey1
    	valueAK1 := AttackKey1
    	GuiControl, , AttackKey1, %valueAK1%
    	
    	Iniread, AttackKey2, settings.ini, Attack Keys, AttackKey2
    	valueAK2 := AttackKey2
    	GuiControl, , AttackKey2, %valueAK2%
    	
    	Iniread, QuicksilverDelay, settings.ini, Quicksilver, QuicksilverDelay
    	valueQSDelay := QuicksilverDelay
    	GuiControl, , QuicksilverDelay, %valueQSDelay%
    	
    	;~ Iniread, TriggerQuicksilver, settings.ini, Quicksilver, TriggerQuicksilver
    	;~ valueQuicksilver := substr(TriggerQuicksilver, (A_Index), 1)
    	;~ GuiControl, , Radiobox%A_Index%QS, %valueQuicksilver%
    	
    	Iniread, Life, settings.ini, CharacterTypeCheck, Life
    	TypeLife := Life
    	
    	Iniread, Hybrid, settings.ini, CharacterTypeCheck, Hybrid
    	TypeHybrid := Hybrid
    	
    	Iniread, Ci, settings.ini, CharacterTypeCheck, Ci
    	TypeCi := Ci
    	
    	Iniread, SliderQuit, settings.ini, AutoQuit, SliderQuit
    	valueSliderQuit := SliderQuit
    	GuiControl, , SliderQuit, %valueSliderQuit%
    	
    	Iniread, CritQuit, settings.ini, AutoQuit, CritQuit
    	valueCritQuit := CritQuit
    	GuiControl, , RadioCritQuit, %valueCritQuit%
    	
    	Iniread, NormalQuit, settings.ini, AutoQuit, NormalQuit
    	valueNormalQuit := NormalQuit
    	GuiControl, , RadioNormalQuit, %valueNormalQuit%
    }
    	
    IfWinExist, ahk_class POEWindowClass 
    {
    	GuiControl, Enable, SaveBtn
    	GuiControl, Enable, UpdateHideoutBtn
    	GuiControl, Enable, UpdateOnCharBtn
    	GuiControl, Hide, RefreshBtn
    }else{
    	GuiControl, Disable, SaveBtn
    	GuiControl, Disable, UpdateHideoutBtn
    	GuiControl, Disable, UpdateOnCharBtn
    }
    
    if (TypeLife==1){
    	GuiControl,Show		,TypeLife
    	GuiControl,Hide		,TypeLifeInactive			
    	GuiControl,Hide		,TypeHybrid
    	GuiControl,Show		,TypeHybridInactive			
    	GuiControl,Hide		,TypeCi
    	GuiControl,Show		,TypeCiInactive
    	GuiControl,Show		,LifeOrbQuit1
    	GuiControl,Show		,LifeOrbQuit2
    	GuiControl,Hide		,ESOrbQuit1
    	GuiControl,Hide		,ESOrbQuit2
    	loop 5 {
    		if (SliderMana%A_Index%=1) && (Quicksilver%A_Index%=0){
    			GuiControl,Show	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Show	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (SliderMana%A_Index%!=1){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Show	,SliderMana%A_Index%
    			GuiControl,Show	,ManaOrb%A_Index%
    			GuiControl,Show	,ManaFlask%A_Index%
    			GuiControl,Hide	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    			GuiControl,Disable,AttackKey1box%A_Index%
    			GuiControl,Disable,AttackKey2box%A_Index%
    		}else if (Quicksilver%A_Index%!=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Show	,QuicksilverFlask%A_Index%
    			GuiControl,Hide	,QuicksilverFlaskInactive%A_Index%
    			GuiControl,Disable,AttackKey1box%A_Index%
    			GuiControl,Disable,AttackKey2box%A_Index%
    		}
    	}
    }else if (TypeHybrid==1){
    	GuiControl,Hide		,TypeLife
    	GuiControl,Show		,TypeLifeInactive			
    	GuiControl,Show		,TypeHybrid
    	GuiControl,hide		,TypeHybridInactive			
    	GuiControl,Hide		,TypeCi
    	GuiControl,Show		,TypeCiInactive
    	GuiControl,Show		,LifeOrbQuit1
    	GuiControl,Show		,LifeOrbQuit2
    	GuiControl,Hide		,ESOrbQuit1
    	GuiControl,Hide		,ESOrbQuit2
    	loop 5 {
    		if (SliderMana%A_Index%=1) && (Quicksilver%A_Index%=0){
    			GuiControl,Show	,SliderLife%A_Index%
    			GuiControl,Show	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Show	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (SliderMana%A_Index%!=1){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Show	,SliderMana%A_Index%
    			GuiControl,Show	,ManaOrb%A_Index%
    			GuiControl,Show	,ManaFlask%A_Index%
    			GuiControl,Hide	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    			GuiControl,Disable,AttackKey1box%A_Index%
    			GuiControl,Disable,AttackKey2box%A_Index%
    		}else if (Quicksilver%A_Index%!=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Show	,QuicksilverFlask%A_Index%
    			GuiControl,Hide	,QuicksilverFlaskInactive%A_Index%
    			GuiControl,Disable,AttackKey1box%A_Index%
    			GuiControl,Disable,AttackKey2box%A_Index%
    		}
    	}
    }else if (TypeCi==1){
    	GuiControl,Hide		,TypeLife
    	GuiControl,Show		,TypeLifeInactive			
    	GuiControl,Hide		,TypeHybrid
    	GuiControl,Show		,TypeHybridInactive			
    	GuiControl,Show		,TypeCi
    	GuiControl,Hide		,TypeCiInactive
    	GuiControl,Hide		,LifeOrbQuit1
    	GuiControl,Hide		,LifeOrbQuit2
    	GuiControl,Show		,ESOrbQuit1
    	GuiControl,Show		,ESOrbQuit2
    	loop 5 {
    		if (SliderMana%A_Index%=1) && (Quicksilver%A_Index%=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Show	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Show	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (SliderMana%A_Index%!=1){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Show	,SliderMana%A_Index%
    			GuiControl,Show	,ManaOrb%A_Index%
    			GuiControl,Show	,ManaFlask%A_Index%
    			GuiControl,Hide	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    			GuiControl,Disable,AttackKey1box%A_Index%
    			GuiControl,Disable,AttackKey2box%A_Index%
    		}else if (Quicksilver%A_Index%!=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Show	,QuicksilverFlask%A_Index%
    			GuiControl,Hide	,QuicksilverFlaskInactive%A_Index%
    			GuiControl,Disable,AttackKey1box%A_Index%
    			GuiControl,Disable,AttackKey2box%A_Index%
    		}
    	}
    }
    
    /* ;~ Load cursor for clickable Pictures and start the hook
     * hCurs:=DllCall("LoadCursor","UInt",NULL,"Int",32649,"UInt") ;IDC_HAND 
     * OnMessage(0x200,"WM_MOUSEMOVE")
     */
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Ingame Overlay (default bottom left)
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Gui 2:Color, 0X130F13
    Gui 2:+LastFound +AlwaysOnTop +ToolWindow
    WinSet, TransColor, 0X130F13
    Gui 2: -Caption
    Gui 2:Font, bold cFFFFFF S10, Arial
    Gui 2:Add, Text, x+1 y+2.5 BackgroundTrans vT1, Quit: OFF
    Gui 2:Add, Text, xp y+0.5 BackgroundTrans vT2, Flasks: OFF
    IfWinExist, ahk_class POEWindowClass
    {
        WinGetPos, X, Y, Width, Height
    	varX:=X + Round(2560 / 1920 * -10)
    	varY:=Y + Round(Height / 1080 * 1027)
    	Gui 2: Show, x%varX% y%varY%
    }
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  KEY Binding
    ;~  Legend:   ! = Alt      ^ = Ctrl     + = Shift 
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Funtion section
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    !WheelDown::Send {Right} 
    !WheelUp::Send {Left}
    ;~ $!O::CheckPos() 
    ;~ $!Q::OpenPortal()
    ;~ $!E::SwitchGem()
    
    ;~ Toggle Auto-Quit
    ;~ $!F11::
       ;~ AutoQuit := !AutoQuit
       ;~ if ((!AutoFlask) and (!AutoQuit)) {
            ;~ SetTimer TGameTick, Off
        ;~ } else {
            ;~ SetTimer TGameTick, %Tick%	
        ;~ }
    	;~ GuiUpdate()
    	;~ return
    
    ;~ Toggle Auto-Pot
    ;~ $!F12::
        ;~ AutoFlask := !AutoFlask
    	;~ if ((!AutoFlask) and (!AutoQuit)) {
            ;~ SetTimer TGameTick, Off
        ;~ } else {
            ;~ SetTimer TGameTick, %Tick%
        ;~ }
    	;~ GuiUpdate()	
    	;~ return
    
    return
    
    WM_MOUSEMOVE(){
    	static CurrControl, PrevControl, _TT
    	CurrControl := A_GuiControl
    	If (CurrControl <> PrevControl and not InStr(CurrControl, " ")){
    		SetTimer, DisplayToolTip, -300 	; shorter wait, shows the tooltip quicker
    		PrevControl := CurrControl
    	}
    	return
    	
    	DisplayToolTip:
    		try
    			ToolTip % %CurrControl%_TT
    		catch
    			ToolTip
    		SetTimer, RemoveToolTip, -2000
    		return
    	return
    }
    
    RandomSleep(min,max){
    	Random, r, %min%, %max%
    	r:=floor(r/Speed)
    	Sleep %r%
    	return
    }
    
    optionsCommand:
    	hotkeys()
    	return
    
    hotkeys(){
    	global ;processWarningFound, macroVersion
    	;getLeagueListing()
    	Gui,Show ;,, Flask Settings
    	processWarningFound:=0
    	Gui,6:Hide
    	return
    }
    
    AutoQuit(){
    AutoQuitCommand:
    	AutoQuit := !AutoQuit
    	if ((!AutoFlask) and (!AutoQuit)) {
            SetTimer TGameTick, Off
        } else {
            SetTimer TGameTick, %Tick%	
        }
    	GuiUpdate()
    	return
    }
    
    AutoFlask(){
    AutoFlaskCommand:	
    	AutoFlask := !AutoFlask
    	if ((!AutoFlask) and (!AutoQuit)) {
            SetTimer TGameTick, Off
        } else {
            SetTimer TGameTick, %Tick%
        }
    	GuiUpdate()	
    	return
    }
    
    QuickPortal(){ ;~ Open Town Portal
    QuickPortalCommand:
    	Keywait, Alt
    	BlockInput On
    	MouseGetPos xx, yy
    	RandomSleep(53,87)
    	
    	Send {%hotkeyCloseAllUI%} 
    	RandomSleep(53,68)
    	
    	Send {%hotkeyInventory%}
    	RandomSleep(56,68)
    	
    	MouseMove, PortalScrollX, PortalScrollY, 0
    	RandomSleep(56,68)
    	
    	Click Right
    	RandomSleep(56,68)
    	
    	Send {%hotkeyInventory%}
    	MouseMove, xx, yy, 0
    	BlockInput Off
    	return
    }
    
    GemSwap(){ ;~ Gem Swap
    GemSwapCommand:
    	Keywait, Alt
    	BlockInput On
    	MouseGetPos xx, yy
    	RandomSleep(151,163)
    
    	Send {%hotkeyCloseAllUI%} 
    	RandomSleep(56,68)
    	
    	Send {%hotkeyInventory%} 
    	RandomSleep(56,68)
    		
    	MouseMove %Gem1X%, %Gem1Y%
    	RandomSleep(56,68)
    	Click, Right 
    	RandomSleep(56,68)
    	
    	if (WeaponSwap==1) 
    		Send {%hotkeyWeaponSwapKey%} 
    	RandomSleep(56,68)
    	
    	MouseMove %Gem2X%, %Gem2Y%
    	RandomSleep(56,68)
    	Click  
    	RandomSleep(56,68)
    	
    	if (WeaponSwap==1) 
    		Send {%hotkeyWeaponSwapKey%} 
    	RandomSleep(56,68)
    	
    	MouseMove %Gem1X%, %Gem1Y%
    	RandomSleep(56,68)
    	Click
    	RandomSleep(56,68)
    	
    	Send {%hotkeyInventory%} 
    	MouseMove, xx, yy, 0
    	BlockInput Off
    	return
    }
    
    GetMouseCoords(){
    GetMouseCoordsCommand:
    	MouseGetPos, xpos, ypos
    	PixelGetColor, xycolor , xpos, ypos
    	msgbox, X=%xpos% Y=%ypos% XYColor=%xycolor%
    	return
    }
    
    Logout(){
    	Critical
    	BlockInput On
    	if (CritQuit=1) {
    		Run, cports.exe /close * * * * PathOfExile_x64Steam.exe
    		Run, cports.exe /close * * * * PathOfExileSteam.exe
    		Run, cports.exe /close * * * * PathOfExile_x64Ci.exe
    		Run, cports.exe /close * * * * PathOfExileCi.exe
    		Run, cports.exe /close * * * * PathOfExile_x64.exe	
    		Run, cports.exe /close * * * * PathOfExile.exe
    		Send {Enter} /exit {Enter}
    	} else {
    		Send {Enter} /exit {Enter}		
    	}
    	RandomSleep(23,45)
    	BlockInput Off
    	return
    }
    
    GuiUpdate(){
    	if (AutoFlask=1) {
    	AutoFlaskToggle:="ON" 
    	} else AutoFlaskToggle:="OFF" 
    
    	if (AutoQuit=1) {
    	AutoQuitToggle:="ON" 
    	}else AutoQuitToggle:="OFF" 
    	
    	GuiControl, 2:, T1, Quit: %AutoQuitToggle%
    	GuiControl, 2:, T2, Flasks: %AutoFlaskToggle%
    	Return
    }
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Flask Logic
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    TGameTick(){
    	IfWinActive, Path of Exile
    	{	
    		pixelgetcolor, Hideout, vX_Hideout, vY_Hideout
    		pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    		if (Hideout=varHideout) || (OnChar!=varOnChar) { ;~ in Hideout OR not ingame on a Character
    			GuiUpdate()
    			Exit
    		}
    
    		if (AutoFlask=1) {
    			Trigger:=00000
    			GetKeyState, %AttackKey1%state, %AttackKey1%, P
    			if %AttackKey1%state = D	
    				Trigger:=Trigger+TriggerAttackKey1
    			GetKeyState, %AttackKey2%state, %AttackKey2%
    			if %AttackKey2%state = D
    				Trigger:=Trigger+TriggerAttackKey2
    		}	
    		
    		if (Life=1)
    		{
    			pixelgetcolor, Life20, vX_Life, vY_Life20 
    			if (Life20!=varLife20) {
    				Trigger:=Trigger+TriggerLife20
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit20=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life25, vX_Life, vY_Life25 
    			if (Life25!=varLife25) {
    				Trigger:=Trigger+TriggerLife25
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit25=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life30, vX_Life, vY_Life30
    			if (Life30!=varLife30) {
    				Trigger:=Trigger+TriggerLife30	
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit30=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life35, vX_Life, vY_Life35 
    			if (Life35!=varLife35) {
    				Trigger:=Trigger+TriggerLife35
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit35=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life40, vX_Life, vY_Life40
    			if (Life40!=varLife40) {
    				Trigger:=Trigger+TriggerLife40
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit40=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life45, vX_Life, vY_Life45 
    			if (Life45!=varLife45) {
    				Trigger:=Trigger+TriggerLife45
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit45=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life50, vX_Life, vY_Life50 
    			if (Life50!=varLife50) {
    				Trigger:=Trigger+TriggerLife50
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit50=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life55, vX_Life, vY_Life55
    			if (Life55!=varLife55) {
    				Trigger:=Trigger+TriggerLife55					
    			}
    			pixelgetcolor, Life60, vX_Life, vY_Life60
    			if (Life60!=varLife60) {
    				Trigger:=Trigger+TriggerLife60					
    			}
    			pixelgetcolor, Life65, vX_Life, vY_Life65
    			if (Life65!=varLife65) {
    				Trigger:=Trigger+TriggerLife65					
    			}
    			pixelgetcolor, Life70, vX_Life, vY_Life70
    			if (Life70!=varLife70) {
    				Trigger:=Trigger+TriggerLife70					
    			}
    			pixelgetcolor, Life75, vX_Life, vY_Life75
    			if (Life75!=varLife75) {
    				Trigger:=Trigger+TriggerLife75					
    			}
    			pixelgetcolor, Life80, vX_Life, vY_Life80
    			if (Life80!=varLife80) {
    				Trigger:=Trigger+TriggerLife80					
    			}
    			pixelgetcolor, Life85, vX_Life, vY_Life85
    			if (Life85!=varLife85) {
    				Trigger:=Trigger+TriggerLife85					
    			}
    			pixelgetcolor, Life90, vX_Life, vY_Life90
    			if (Life90!=varLife90) {
    				Trigger:=Trigger+TriggerLife90	
    			}
    			pixelgetcolor, Life95, vX_Life, vY_Life95
    			if (Life95!=varLife95) {
    				Trigger:=Trigger+TriggerLife95					
    			}
    		}
    		
    		if (Hybrid=1)
    		{
    			pixelgetcolor, Life20, vX_Life, vY_Life20 
    			if (Life20!=varLife20) {
    				Trigger:=Trigger+TriggerLife20
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit20=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life25, vX_Life, vY_Life25 
    			if (Life25!=varLife25) {
    				Trigger:=Trigger+TriggerLife25
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit25=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life30, vX_Life, vY_Life30
    			if (Life30!=varLife30) {
    				Trigger:=Trigger+TriggerLife30	
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit30=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life35, vX_Life, vY_Life35 
    			if (Life35!=varLife35) {
    				Trigger:=Trigger+TriggerLife35
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit35=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life40, vX_Life, vY_Life40
    			if (Life40!=varLife40) {
    				Trigger:=Trigger+TriggerLife40
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit40=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life45, vX_Life, vY_Life45 
    			if (Life45!=varLife45) {
    				Trigger:=Trigger+TriggerLife45
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit45=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life50, vX_Life, vY_Life50 
    			if (Life50!=varLife50) {
    				Trigger:=Trigger+TriggerLife50
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit50=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, Life55, vX_Life, vY_Life55
    			if (Life55!=varLife55) {
    				Trigger:=Trigger+TriggerLife55					
    			}
    			pixelgetcolor, Life60, vX_Life, vY_Life60
    			if (Life60!=varLife60) {
    				Trigger:=Trigger+TriggerLife60					
    			}
    			pixelgetcolor, Life65, vX_Life, vY_Life65
    			if (Life65!=varLife65) {
    				Trigger:=Trigger+TriggerLife65					
    			}
    			pixelgetcolor, Life70, vX_Life, vY_Life70
    			if (Life70!=varLife70) {
    				Trigger:=Trigger+TriggerLife70					
    			}
    			pixelgetcolor, Life75, vX_Life, vY_Life75
    			if (Life75!=varLife75) {
    				Trigger:=Trigger+TriggerLife75					
    			}
    			pixelgetcolor, Life80, vX_Life, vY_Life80
    			if (Life80!=varLife80) {
    				Trigger:=Trigger+TriggerLife80					
    			}
    			pixelgetcolor, Life85, vX_Life, vY_Life85
    			if (Life85!=varLife85) {
    				Trigger:=Trigger+TriggerLife85					
    			}
    			pixelgetcolor, Life90, vX_Life, vY_Life90
    			if (Life90!=varLife90) {
    				Trigger:=Trigger+TriggerLife90	
    			}
    			pixelgetcolor, Life95, vX_Life, vY_Life95
    			if (Life95!=varLife95) {
    				Trigger:=Trigger+TriggerLife95					
    			}								
    			pixelgetcolor, ES20, vX_ES, vY_ES20 
    			if (ES20!=varES20) {
    				Trigger:=Trigger+TriggerES20			
    			}
    			pixelgetcolor, ES25, vX_ES, vY_ES25 
    			if (ES25!=varES25) {
    				Trigger:=Trigger+TriggerES25			
    			}
    			pixelgetcolor, ES30, vX_ES, vY_ES30
    			if (ES30!=varES30) {
    				Trigger:=Trigger+TriggerES30
    			}
    			pixelgetcolor, ES35, vX_ES, vY_ES35 
    			if (ES35!=varES35) {
    				Trigger:=Trigger+TriggerES35			
    			}
    			pixelgetcolor, ES40, vX_ES, vY_ES40
    			if (ES40!=varES40) {
    				Trigger:=Trigger+TriggerES40
    			}
    			pixelgetcolor, ES45, vX_ES, vY_ES45 
    			if (ES45!=varES45) {
    				Trigger:=Trigger+TriggerES45			
    			}
    			pixelgetcolor, ES50, vX_ES, vY_ES50
    			if (ES50!=varES50) {
    				Trigger:=Trigger+TriggerES50					
    			}
    			pixelgetcolor, ES55, vX_ES, vY_ES55
    			if (ES55!=varES55) {
    				Trigger:=Trigger+TriggerES55					
    			}
    			pixelgetcolor, ES60, vX_ES, vY_ES60
    			if (ES60!=varES60) {
    				Trigger:=Trigger+TriggerES60					
    			}
    			pixelgetcolor, ES65, vX_ES, vY_ES65
    			if (ES65!=varES65) {
    				Trigger:=Trigger+TriggerES65					
    			}
    			pixelgetcolor, ES70, vX_ES, vY_ES70
    			if (ES70!=varES70) {
    				Trigger:=Trigger+TriggerES70					
    			}
    			pixelgetcolor, ES75, vX_ES, vY_ES75
    			if (ES75!=varES75) {
    				Trigger:=Trigger+TriggerES75					
    			}
    			pixelgetcolor, ES80, vX_ES, vY_ES80
    			if (ES80!=varES80) {
    				Trigger:=Trigger+TriggerES80					
    			}
    			pixelgetcolor, ES85, vX_ES, vY_ES85
    			if (ES85!=varES85) {
    				Trigger:=Trigger+TriggerES85					
    			}
    			pixelgetcolor, ES90, vX_ES, vY_ES90
    			if (ES90!=varES90) {
    				Trigger:=Trigger+TriggerES90	
    			}
    			pixelgetcolor, ES95, vX_ES, vY_ES95
    			if (ES95!=varES95) {
    				Trigger:=Trigger+TriggerES95					
    			}
    		}
    		
    		if (Ci=1)
    		{
    			pixelgetcolor, ES20, vX_ES, vY_ES20 
    			if (ES20!=varES20) {
    				Trigger:=Trigger+TriggerES20
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit20=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES25, vX_ES, vY_ES25 
    			if (ES25!=varES25) {
    				Trigger:=Trigger+TriggerES25
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit25=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES30, vX_ES, vY_ES30
    			if (ES30!=varES30) {
    				Trigger:=Trigger+TriggerES30	
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit30=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES35, vX_ES, vY_ES35 
    			if (ES35!=varES35) {
    				Trigger:=Trigger+TriggerES35
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit35=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES40, vX_ES, vY_ES40
    			if (ES40!=varES40) {
    				Trigger:=Trigger+TriggerES40
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit40=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES45, vX_ES, vY_ES45 
    			if (ES45!=varES45) {
    				Trigger:=Trigger+TriggerES45
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit45=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES50, vX_ES, vY_ES50 
    			if (ES50!=varES50) {
    				Trigger:=Trigger+TriggerES50
    				pixelgetcolor, OnChar, vX_OnChar, vY_OnChar
    				if (AutoQuit=1) && (Quit50=1) && (OnChar=varOnChar) {
    					Logout()
    					Exit
    				}
    			}
    			pixelgetcolor, ES55, vX_ES, vY_ES55
    			if (ES55!=varES55) {
    				Trigger:=Trigger+TriggerES55					
    			}
    			pixelgetcolor, ES60, vX_ES, vY_ES60
    			if (ES60!=varES60) {
    				Trigger:=Trigger+TriggerES60					
    			}
    			pixelgetcolor, ES65, vX_ES, vY_ES65
    			if (ES65!=varES65) {
    				Trigger:=Trigger+TriggerES65					
    			}
    			pixelgetcolor, ES70, vX_ES, vY_ES70
    			if (ES70!=varES70) {
    				Trigger:=Trigger+TriggerES70					
    			}
    			pixelgetcolor, ES75, vX_ES, vY_ES75
    			if (ES75!=varES75) {
    				Trigger:=Trigger+TriggerES75					
    			}
    			pixelgetcolor, ES80, vX_ES, vY_ES80
    			if (ES80!=varES80) {
    				Trigger:=Trigger+TriggerES80					
    			}
    			pixelgetcolor, ES85, vX_ES, vY_ES85
    			if (ES85!=varES85) {
    				Trigger:=Trigger+TriggerES85					
    			}
    			pixelgetcolor, ES90, vX_ES, vY_ES90
    			if (ES90!=varES90) {
    				Trigger:=Trigger+TriggerES90	
    			}
    			pixelgetcolor, ES95, vX_ES, vY_ES95
    			if (ES95!=varES95) {
    				Trigger:=Trigger+TriggerES95					
    			}
    		}
    			
    		pixelgetcolor, Mana20, vX_Mana, vY_Mana20
    		if (Mana20!=varMana20) {
    			Trigger:=Trigger+TriggerMana20
    		}
    		pixelgetcolor, Mana25, vX_Mana, vY_Mana25
    		if (Mana25!=varMana25) {
    			Trigger:=Trigger+TriggerMana25
    		}
    		pixelgetcolor, Mana30, vX_Mana, vY_Mana30
    		if (Mana30!=varMana30) {
    			Trigger:=Trigger+TriggerMana30
    		}
    		pixelgetcolor, Mana35, vX_Mana, vY_Mana35
    		if (Mana35!=varMana35) {
    			Trigger:=Trigger+TriggerMana35
    		}
    		pixelgetcolor, Mana40, vX_Mana, vY_Mana40
    		if (Mana40!=varMana40) {
    			Trigger:=Trigger+TriggerMana40
    		}
    		pixelgetcolor, Mana45, vX_Mana, vY_Mana45
    		if (Mana45!=varMana45) {
    			Trigger:=Trigger+TriggerMana45
    		}
    		pixelgetcolor, Mana50, vX_Mana, vY_Mana50
    		if (Mana50!=varMana50) {
    			Trigger:=Trigger+TriggerMana50
    		}
    		pixelgetcolor, Mana55, vX_Mana, vY_Mana55
    		if (Mana55!=varMana55) {
    			Trigger:=Trigger+TriggerMana55					
    		}
    		pixelgetcolor, Mana60, vX_Mana, vY_Mana60
    		if (Mana60!=varMana60) {
    			Trigger:=Trigger+TriggerMana60					
    		}
    		pixelgetcolor, Mana65, vX_Mana, vY_Mana65
    		if (Mana65!=varMana65) {
    			Trigger:=Trigger+TriggerMana65					
    		}
    		pixelgetcolor, Mana70, vX_Mana, vY_Mana70
    		if (Mana70!=varMana70) {
    			Trigger:=Trigger+TriggerMana70					
    		}
    		pixelgetcolor, Mana75, vX_Mana, vY_Mana75
    		if (Mana75!=varMana75) {
    			Trigger:=Trigger+TriggerMana75					
    		}
    		pixelgetcolor, Mana80, vX_Mana, vY_Mana80
    		if (Mana80!=varMana80) {
    			Trigger:=Trigger+TriggerMana80					
    		}
    		pixelgetcolor, Mana85, vX_Mana, vY_Mana85
    		if (Mana85!=varMana85) {
    			Trigger:=Trigger+TriggerMana85					
    		}
    		pixelgetcolor, Mana90, vX_Mana, vY_Mana90
    		if (Mana90!=varMana90) {
    			Trigger:=Trigger+TriggerMana90	
    		}
    		pixelgetcolor, Mana95, vX_Mana, vY_Mana95
    		if (Mana95!=varMana95) {
    			Trigger:=Trigger+TriggerMana95					
    		}
    
    		{
    		GuiUpdate()
    		}
    
    		;~  Trigger the flasks
    		if (AutoFlask=1) {
    			STrigger:= SubStr("00000" Trigger,-4)
    			FL=1
    			loop 5 {
    				FLVal:=SubStr(STrigger,FL,1)+0
    				if (FLVal > 0) {
    					cd:=OnCoolDown[FL]
    					if (cd=0) {
    						send %FL%
    						OnCoolDown[FL]:=1 
    						CoolDown:=CoolDownFlask%FL%
    						settimer, TimmerFlask%FL%, %CoolDown%
    						sleep=rand(23,59)			
    					}
    				}
    				FL:=FL+1
    			}
    		}
    	}
    }
    
    TimmerFlask1:
    	OnCoolDown[1]:=0
    	settimer,TimmerFlask1,delete
    return
    
    TimmerFlask2:
    	OnCoolDown[2]:=0
    	settimer,TimmerFlask2,delete
    return
    
    TimmerFlask3:
    	OnCoolDown[3]:=0
    	settimer,TimmerFlask3,delete
    return
    
    TimmerFlask4:
    	OnCoolDown[4]:=0
    	settimer,TimmerFlask4,delete
    return
    
    TimmerFlask5:
    	OnCoolDown[5]:=0
    	settimer,TimmerFlask5,delete
    return
    
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ;~  Configuration handling, ini updates
    ;~  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    readFromFile(){
    	global
    	;hotkey,!F10, optionsCommand, Off
    	
    	;~ Failsafe Colors
    	IniRead, varHideout, settings.ini, Failsafe Colors, Hideout %A_Space%
    	IniRead, varOnChar, settings.ini, Failsafe Colors, OnChar %A_Space%
    	
    	;~ Life Flasks
    	IniRead, varLife20, settings.ini, Life Colors, Life20 %A_Space%
    	IniRead, varLife25, settings.ini, Life Colors, Life25 %A_Space%
    	IniRead, varLife30, settings.ini, Life Colors, Life30 %A_Space%
    	IniRead, varLife35, settings.ini, Life Colors, Life35 %A_Space%
    	IniRead, varLife40, settings.ini, Life Colors, Life40 %A_Space%
    	IniRead, varLife45, settings.ini, Life Colors, Life45 %A_Space%
    	IniRead, varLife50, settings.ini, Life Colors, Life50 %A_Space%
    	IniRead, varLife55, settings.ini, Life Colors, Life55 %A_Space%
    	IniRead, varLife60, settings.ini, Life Colors, Life60 %A_Space%
    	IniRead, varLife65, settings.ini, Life Colors, Life65 %A_Space%
    	IniRead, varLife70, settings.ini, Life Colors, Life70 %A_Space%
    	IniRead, varLife75, settings.ini, Life Colors, Life75 %A_Space%
    	IniRead, varLife80, settings.ini, Life Colors, Life80 %A_Space%
    	IniRead, varLife85, settings.ini, Life Colors, Life85 %A_Space%
    	IniRead, varLife90, settings.ini, Life Colors, Life90 %A_Space%
    	IniRead, varLife95, settings.ini, Life Colors, Life95 %A_Space%
    	
    	IniRead, SliderLife1, settings.ini, Life Triggers, SliderLife1 %A_Space%
    	IniRead, SliderLife2, settings.ini, Life Triggers, SliderLife2 %A_Space%
    	IniRead, SliderLife3, settings.ini, Life Triggers, SliderLife3 %A_Space%
    	IniRead, SliderLife4, settings.ini, Life Triggers, SliderLife4 %A_Space%
    	IniRead, SliderLife5, settings.ini, Life Triggers, SliderLife5 %A_Space%
    	
    	loop 5 {
    		IniRead, DisableLife%A_Index%, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    		IniRead, TriggerLife%A_Index%20, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    		IniRead, TriggerLife%A_Index%25, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    		IniRead, TriggerLife%A_Index%30, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    		IniRead, TriggerLife%A_Index%35, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    		IniRead, TriggerLife%A_Index%40, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    		IniRead, TriggerLife%A_Index%45, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    		IniRead, TriggerLife%A_Index%50, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    		IniRead, TriggerLife%A_Index%55, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    		IniRead, TriggerLife%A_Index%60, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    		IniRead, TriggerLife%A_Index%65, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    		IniRead, TriggerLife%A_Index%70, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    		IniRead, TriggerLife%A_Index%75, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    		IniRead, TriggerLife%A_Index%80, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    		IniRead, TriggerLife%A_Index%85, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    		IniRead, TriggerLife%A_Index%90, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    		IniRead, TriggerLife%A_Index%95, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    	}
    	
    	TriggerLife20=%TriggerLife120%%TriggerLife220%%TriggerLife320%%TriggerLife420%%TriggerLife520%
    	TriggerLife25=%TriggerLife125%%TriggerLife225%%TriggerLife325%%TriggerLife425%%TriggerLife525%
    	TriggerLife30=%TriggerLife130%%TriggerLife230%%TriggerLife330%%TriggerLife430%%TriggerLife530%
    	TriggerLife35=%TriggerLife135%%TriggerLife235%%TriggerLife335%%TriggerLife435%%TriggerLife535%
    	TriggerLife40=%TriggerLife140%%TriggerLife240%%TriggerLife340%%TriggerLife440%%TriggerLife540%
    	TriggerLife45=%TriggerLife145%%TriggerLife245%%TriggerLife345%%TriggerLife445%%TriggerLife545%
    	TriggerLife50=%TriggerLife150%%TriggerLife250%%TriggerLife350%%TriggerLife450%%TriggerLife550%
    	TriggerLife55=%TriggerLife155%%TriggerLife255%%TriggerLife355%%TriggerLife455%%TriggerLife555%
    	TriggerLife60=%TriggerLife160%%TriggerLife260%%TriggerLife360%%TriggerLife460%%TriggerLife560%
    	TriggerLife65=%TriggerLife165%%TriggerLife265%%TriggerLife365%%TriggerLife465%%TriggerLife565%
    	TriggerLife70=%TriggerLife170%%TriggerLife270%%TriggerLife370%%TriggerLife470%%TriggerLife570%
    	TriggerLife75=%TriggerLife175%%TriggerLife275%%TriggerLife375%%TriggerLife475%%TriggerLife575%
    	TriggerLife80=%TriggerLife180%%TriggerLife280%%TriggerLife380%%TriggerLife480%%TriggerLife580%
    	TriggerLife85=%TriggerLife185%%TriggerLife285%%TriggerLife385%%TriggerLife485%%TriggerLife585%
    	TriggerLife90=%TriggerLife190%%TriggerLife290%%TriggerLife390%%TriggerLife490%%TriggerLife590%
    	TriggerLife95=%TriggerLife195%%TriggerLife295%%TriggerLife395%%TriggerLife495%%TriggerLife595%
    	
    
    	;~ ES Flasks
    	IniRead, varES20, settings.ini, ES Colors, ES20 %A_Space%
    	IniRead, varES25, settings.ini, ES Colors, ES25 %A_Space%
    	IniRead, varES30, settings.ini, ES Colors, ES30 %A_Space%
    	IniRead, varES35, settings.ini, ES Colors, ES35 %A_Space%
    	IniRead, varES40, settings.ini, ES Colors, ES40 %A_Space%
    	IniRead, varES45, settings.ini, ES Colors, ES45 %A_Space%
    	IniRead, varES50, settings.ini, ES Colors, ES50 %A_Space%
    	IniRead, varES55, settings.ini, ES Colors, ES55 %A_Space%
    	IniRead, varES60, settings.ini, ES Colors, ES60 %A_Space%
    	IniRead, varES65, settings.ini, ES Colors, ES65 %A_Space%
    	IniRead, varES70, settings.ini, ES Colors, ES70 %A_Space%
    	IniRead, varES75, settings.ini, ES Colors, ES75 %A_Space%
    	IniRead, varES80, settings.ini, ES Colors, ES80 %A_Space%
    	IniRead, varES85, settings.ini, ES Colors, ES85 %A_Space%
    	IniRead, varES90, settings.ini, ES Colors, ES90 %A_Space%
    	IniRead, varES95, settings.ini, ES Colors, ES95 %A_Space%
    	
    	IniRead, SliderES1, settings.ini, ES Triggers, SliderES1 %A_Space%
    	IniRead, SliderES2, settings.ini, ES Triggers, SliderES2 %A_Space%
    	IniRead, SliderES3, settings.ini, ES Triggers, SliderES3 %A_Space%
    	IniRead, SliderES4, settings.ini, ES Triggers, SliderES4 %A_Space%
    	IniRead, SliderES5, settings.ini, ES Triggers, SliderES5 %A_Space%
    	
    	loop 5 {
    		IniRead, DisableES%A_Index%, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    		IniRead, TriggerES%A_Index%20, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    		IniRead, TriggerES%A_Index%25, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    		IniRead, TriggerES%A_Index%30, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    		IniRead, TriggerES%A_Index%35, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    		IniRead, TriggerES%A_Index%40, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    		IniRead, TriggerES%A_Index%45, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    		IniRead, TriggerES%A_Index%50, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    		IniRead, TriggerES%A_Index%55, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    		IniRead, TriggerES%A_Index%60, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    		IniRead, TriggerES%A_Index%65, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    		IniRead, TriggerES%A_Index%70, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    		IniRead, TriggerES%A_Index%75, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    		IniRead, TriggerES%A_Index%80, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    		IniRead, TriggerES%A_Index%85, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    		IniRead, TriggerES%A_Index%90, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    		IniRead, TriggerES%A_Index%95, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    	}
    	
    	TriggerES20=%TriggerES120%%TriggerES220%%TriggerES320%%TriggerES420%%TriggerES520%
    	TriggerES25=%TriggerES125%%TriggerES225%%TriggerES325%%TriggerES425%%TriggerES525%
    	TriggerES30=%TriggerES130%%TriggerES230%%TriggerES330%%TriggerES430%%TriggerES530%
    	TriggerES35=%TriggerES135%%TriggerES235%%TriggerES335%%TriggerES435%%TriggerES535%
    	TriggerES40=%TriggerES140%%TriggerES240%%TriggerES340%%TriggerES440%%TriggerES540%
    	TriggerES45=%TriggerES145%%TriggerES245%%TriggerES345%%TriggerES445%%TriggerES545%
    	TriggerES50=%TriggerES150%%TriggerES250%%TriggerES350%%TriggerES450%%TriggerES550%
    	TriggerES55=%TriggerES155%%TriggerES255%%TriggerES355%%TriggerES455%%TriggerES555%
    	TriggerES60=%TriggerES160%%TriggerES260%%TriggerES360%%TriggerES460%%TriggerES560%
    	TriggerES65=%TriggerES165%%TriggerES265%%TriggerES365%%TriggerES465%%TriggerES565%
    	TriggerES70=%TriggerES170%%TriggerES270%%TriggerES370%%TriggerES470%%TriggerES570%
    	TriggerES75=%TriggerES175%%TriggerES275%%TriggerES375%%TriggerES475%%TriggerES575%
    	TriggerES80=%TriggerES180%%TriggerES280%%TriggerES380%%TriggerES480%%TriggerES580%
    	TriggerES85=%TriggerES185%%TriggerES285%%TriggerES385%%TriggerES485%%TriggerES585%
    	TriggerES90=%TriggerES190%%TriggerES290%%TriggerES390%%TriggerES490%%TriggerES590%
    	TriggerES95=%TriggerES195%%TriggerES295%%TriggerES395%%TriggerES495%%TriggerES595%
    	
    	;~ Mana Flasks
    	IniRead, varMana20, settings.ini, Mana Colors, Mana20 %A_Space%
    	IniRead, varMana25, settings.ini, Mana Colors, Mana25 %A_Space%
    	IniRead, varMana30, settings.ini, Mana Colors, Mana30 %A_Space%
    	IniRead, varMana35, settings.ini, Mana Colors, Mana35 %A_Space%
    	IniRead, varMana40, settings.ini, Mana Colors, Mana40 %A_Space%
    	IniRead, varMana45, settings.ini, Mana Colors, Mana45 %A_Space%
    	IniRead, varMana50, settings.ini, Mana Colors, Mana50 %A_Space%
    	IniRead, varMana55, settings.ini, Mana Colors, Mana55 %A_Space%
    	IniRead, varMana60, settings.ini, Mana Colors, Mana60 %A_Space%
    	IniRead, varMana65, settings.ini, Mana Colors, Mana65 %A_Space%
    	IniRead, varMana70, settings.ini, Mana Colors, Mana70 %A_Space%
    	IniRead, varMana75, settings.ini, Mana Colors, Mana75 %A_Space%
    	IniRead, varMana80, settings.ini, Mana Colors, Mana80 %A_Space%
    	IniRead, varMana85, settings.ini, Mana Colors, Mana85 %A_Space%
    	IniRead, varMana90, settings.ini, Mana Colors, Mana90 %A_Space%
    	IniRead, varMana95, settings.ini, Mana Colors, Mana95 %A_Space%
    	
    	IniRead, SliderMana1, settings.ini, Mana Triggers, SliderMana1 %A_Space%
    	IniRead, SliderMana2, settings.ini, Mana Triggers, SliderMana2 %A_Space%
    	IniRead, SliderMana3, settings.ini, Mana Triggers, SliderMana3 %A_Space%
    	IniRead, SliderMana4, settings.ini, Mana Triggers, SliderMana4 %A_Space%
    	IniRead, SliderMana5, settings.ini, Mana Triggers, SliderMana5 %A_Space%
    	
    	loop 5 {
    		IniRead, DisableMana%A_Index%, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    		IniRead, TriggerMana%A_Index%20, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    		IniRead, TriggerMana%A_Index%25, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    		IniRead, TriggerMana%A_Index%30, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    		IniRead, TriggerMana%A_Index%35, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    		IniRead, TriggerMana%A_Index%40, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    		IniRead, TriggerMana%A_Index%45, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    		IniRead, TriggerMana%A_Index%50, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    		IniRead, TriggerMana%A_Index%55, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    		IniRead, TriggerMana%A_Index%60, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    		IniRead, TriggerMana%A_Index%65, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    		IniRead, TriggerMana%A_Index%70, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    		IniRead, TriggerMana%A_Index%75, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    		IniRead, TriggerMana%A_Index%80, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    		IniRead, TriggerMana%A_Index%85, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    		IniRead, TriggerMana%A_Index%90, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    		IniRead, TriggerMana%A_Index%95, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    	}
    	
    	TriggerMana20=%TriggerMana120%%TriggerMana220%%TriggerMana320%%TriggerMana420%%TriggerMana520%
    	TriggerMana25=%TriggerMana125%%TriggerMana225%%TriggerMana325%%TriggerMana425%%TriggerMana525%
    	TriggerMana30=%TriggerMana130%%TriggerMana230%%TriggerMana330%%TriggerMana430%%TriggerMana530%
    	TriggerMana35=%TriggerMana135%%TriggerMana235%%TriggerMana335%%TriggerMana435%%TriggerMana535%
    	TriggerMana40=%TriggerMana140%%TriggerMana240%%TriggerMana340%%TriggerMana440%%TriggerMana540%
    	TriggerMana45=%TriggerMana145%%TriggerMana245%%TriggerMana345%%TriggerMana445%%TriggerMana545%
    	TriggerMana50=%TriggerMana150%%TriggerMana250%%TriggerMana350%%TriggerMana450%%TriggerMana550%
    	TriggerMana55=%TriggerMana155%%TriggerMana255%%TriggerMana355%%TriggerMana455%%TriggerMana555%
    	TriggerMana60=%TriggerMana160%%TriggerMana260%%TriggerMana360%%TriggerMana460%%TriggerMana560%
    	TriggerMana65=%TriggerMana165%%TriggerMana265%%TriggerMana365%%TriggerMana465%%TriggerMana565%
    	TriggerMana70=%TriggerMana170%%TriggerMana270%%TriggerMana370%%TriggerMana470%%TriggerMana570%
    	TriggerMana75=%TriggerMana175%%TriggerMana275%%TriggerMana375%%TriggerMana475%%TriggerMana575%
    	TriggerMana80=%TriggerMana180%%TriggerMana280%%TriggerMana380%%TriggerMana480%%TriggerMana580%
    	TriggerMana85=%TriggerMana185%%TriggerMana285%%TriggerMana385%%TriggerMana485%%TriggerMana585%
    	TriggerMana90=%TriggerMana190%%TriggerMana290%%TriggerMana390%%TriggerMana490%%TriggerMana590%
    	TriggerMana95=%TriggerMana195%%TriggerMana295%%TriggerMana395%%TriggerMana495%%TriggerMana595%
    	
    	;~ hotkeys reset
    	hotkey, IfWinActive, ahk_class POEWindowClass
    	;~ If hotkeyMove
    		;~ hotkey,% hotkeyMove, MoveCommand, Off
    	If hotkeyAutoQuit
    		hotkey,% hotkeyAutoQuit, AutoQuitCommand, Off
    	If hotkeyAutoFlask
    		hotkey,% hotkeyAutoFlask, AutoFlaskCommand, Off
    	;~ If hotkeyAutoQuicksilver
    		;~ hotkey,% hotkeyAutoQuicksilver, AutoQuicksilverCommand, Off
    	If hotkeyQuickPortal
    		hotkey,% hotkeyQuickPortal, QuickPortalCommand, Off
    	If hotkeyGemSwap
    		hotkey,% hotkeyGemSwap, GemSwapCommand, Off
    	If hotkeyGetCoords
    		hotkey,% hotkeyGetMouseCoords, GetMouseCoordsCommand, Off
    	
    	hotkey, IfWinActive
    	If hotkeyOptions
    		hotkey,% hotkeyOptions, optionsCommand, Off
    	hotkey, IfWinActive, ahk_class POEWindowClass
    	
    	;~ hotkeys iniread
    	IniRead, hotkeyOptions, settings.ini, hotkeys, Options %A_Space%
    	IniRead, hotkeyAutoQuit, settings.ini, hotkeys, AutoQuit %A_Space%
    	IniRead, hotkeyAutoFlask, settings.ini, hotkeys, AutoFlask %A_Space%
    	IniRead, hotkeyAutoQuicksilver, settings.ini, hotkeys, AutoQuicksilver %A_Space%
    	IniRead, hotkeyQuickPortal, settings.ini, hotkeys, QuickPortal %A_Space%
    	IniRead, hotkeyGemSwap, settings.ini, hotkeys, GemSwap %A_Space%
    	IniRead, hotkeyGetMouseCoords, settings.ini, hotkeys, GetMouseCoords %A_Space%
    	IniRead, hotkeyMove, settings.ini, hotkeys, Move %A_Space%
    	IniRead, hotkeyCloseAllUI, settings.ini, hotkeys, CloseAllUI %A_Space%
    	IniRead, hotkeyInventory, settings.ini, hotkeys, Inventory %A_Space%
    	IniRead, hotkeyWeaponSwapKey, settings.ini, hotkeys, WeaponSwapKey %A_Space%
    	
    	hotkey, IfWinActive, ahk_class POEWindowClass
    	;~ If hotkeyMove
    		;~ hotkey,% hotkeyMove, MoveCommand, On
    	If hotkeyAutoQuit
    		hotkey,% hotkeyAutoQuit, AutoQuitCommand, On
    	If hotkeyAutoFlask
    		hotkey,% hotkeyAutoFlask, AutoFlaskCommand, On
    	;~ If hotkeyAutoQuicksilver
    		;~ hotkey,% hotkeyAutoQuicksilver, AutoQuicksilverCommand, On
    	If hotkeyQuickPortal
    		hotkey,% hotkeyQuickPortal, QuickPortalCommand, On
    	If hotkeyGemSwap
    		hotkey,% hotkeyGemSwap, GemSwapCommand, On
    	If hotkeyGetMouseCoords
    		hotkey,% hotkeyGetMouseCoords, GetMouseCoordsCommand, On
    	
    	hotkey, IfWinActive
    	If hotkeyOptions {
    		hotkey,% hotkeyOptions, optionsCommand, On
    		;GuiControl,, guiSettings, Settings:%hotkeyOptions%
    	}
    	else {
    		hotkey,!F10, optionsCommand, On
    		msgbox You dont have set the GUI hotkey!`nPlease hit Alt+F10 to open up the GUI and set your hotkey.
    		;GuiControl,, guiSettings, Settings:%hotkeyOptions%
    	}
    	
    	;~ Flask Cooldowns
    	IniRead, CooldownFlask1, settings.ini, Flask Cooldowns, CooldownFlask1 %A_Space%
    	IniRead, CooldownFlask2, settings.ini, Flask Cooldowns, CooldownFlask2 %A_Space%
    	IniRead, CooldownFlask3, settings.ini, Flask Cooldowns, CooldownFlask3 %A_Space%
    	IniRead, CooldownFlask4, settings.ini, Flask Cooldowns, CooldownFlask4 %A_Space%
    	IniRead, CooldownFlask5, settings.ini, Flask Cooldowns, CooldownFlask5 %A_Space%
    	
    	;~ Gem-Swap
    	IniRead, Gem1X, settings.ini, Gem Swap, Gem1X %A_Space%
    	IniRead, Gem1Y, settings.ini, Gem Swap, Gem1Y %A_Space%
    	IniRead, Gem2X, settings.ini, Gem Swap, Gem2X %A_Space%
    	IniRead, Gem2Y, settings.ini, Gem Swap, Gem2Y %A_Space%
    	IniRead, WeaponSwap, settings.ini, Gem Swap, WeaponSwap %A_Space%
    	
    	;~ Quick-Portal
    	IniRead, PortalScrollX, settings.ini, Coordinates, PortalScrollX %A_Space%
    	IniRead, PortalScrollY, settings.ini, Coordinates, PortalScrollY %A_Space%
    	
    	;~ Attack Flasks
    	IniRead, TriggerAttackKey1, settings.ini, Attack Triggers, TriggerAttackKey1 %A_Space%
    	IniRead, TriggerAttackKey2, settings.ini, Attack Triggers, TriggerAttackKey2 %A_Space%
    	
    	;~ Attack Keys
    	IniRead, AttackKey1, settings.ini, Attack Keys, AttackKey1 %A_Space%
    	IniRead, AttackKey2, settings.ini, Attack Keys, AttackKey2 %A_Space%
    	
    	;~ Quicksilver
    	IniRead, QuicksilverDelay, settings.ini, Quicksilver, QuicksilverDelay %A_Space%
    	
    	IniRead, Quicksilver1, settings.ini, Quicksilver, Quicksilver1 %A_Space%
    	IniRead, Quicksilver2, settings.ini, Quicksilver, Quicksilver2 %A_Space%
    	IniRead, Quicksilver3, settings.ini, Quicksilver, Quicksilver3 %A_Space%
    	IniRead, Quicksilver4, settings.ini, Quicksilver, Quicksilver4 %A_Space%
    	IniRead, Quicksilver5, settings.ini, Quicksilver, Quicksilver5 %A_Space%
    	
    	;~ TriggerQuicksilver=%Quicksilver1%%Quicksilver2%%Quicksilver3%%Quicksilver4%%Quicksilver5%
    	
    	;~ CharacterTypeCheck
    	IniRead, Life, settings.ini, CharacterTypeCheck, Life %A_Space%
    	IniRead, Hybrid, settings.ini, CharacterTypeCheck, Hybrid %A_Space%
    	IniRead, Ci, settings.ini, CharacterTypeCheck, Ci %A_Space%
    	
    	;~ AutoQuit
    	Iniread, SliderQuit, settings.ini, AutoQuit, SliderQuit %A_Space%
    	IniRead, Quit20, settings.ini, AutoQuit, Quit20 %A_Space%
    	IniRead, Quit25, settings.ini, AutoQuit, Quit25 %A_Space%
    	IniRead, Quit30, settings.ini, AutoQuit, Quit30 %A_Space%
    	IniRead, Quit35, settings.ini, AutoQuit, Quit35 %A_Space%
    	IniRead, Quit40, settings.ini, AutoQuit, Quit40 %A_Space%
    	IniRead, Quit45, settings.ini, AutoQuit, Quit45 %A_Space%
    	IniRead, Quit50, settings.ini, AutoQuit, Quit50 %A_Space%
    	IniRead, CritQuit, settings.ini, AutoQuit, CritQuit %A_Space%
    	IniRead, NormalQuit, settings.ini, AutoQuit, NormalQuit %A_Space%
    
    	;hotkey,!F10, optionsCommand, On
    	Return
    }
    
    submit(){  
    updateEverything:
    	global
    	Gui, Submit
    	
    	IfWinExist, ahk_class POEWindowClass 
    	{
    		WinActivate, ahk_class POEWindowClass
    		WinGetPos, X, Y, Width, Height
    		;~ Hideout Coords
    		vX_Hideout:=X+Round(Width /1920*1241)
    		vY_Hideout:=Y+Round(Height/1080* 951)
    		;~ OnChar Coords	
    		vX_OnChar:= X+Round(2560 /1920*  41) 
    		vY_OnChar:= Y+Round(Height/1080* 915)
    		;~ Life Coords	
    		vX_Life:=   X+Round(2560 /1920*  95)
    		vY_Life20:= Y+Round(Height/1080*1034)
    		vY_Life25:= Y+Round(Height/1080*1024)
    		vY_Life30:= Y+Round(Height/1080*1014)
    		vY_Life35:= Y+Round(Height/1080*1004)
    		vY_Life40:= Y+Round(Height/1080* 994)
    		vY_Life45:= Y+Round(Height/1080* 984)
    		vY_Life50:= Y+Round(Height/1080* 974)
    		vY_Life55:= Y+Round(Height/1080* 964)
    		vY_Life60:= Y+Round(Height/1080* 954)
    		vY_Life65:= Y+Round(Height/1080* 944)
    		vY_Life70:= Y+Round(Height/1080* 934)
    		vY_Life75:= Y+Round(Height/1080* 924)
    		vY_Life80:= Y+Round(Height/1080* 914)
    		vY_Life85:= Y+Round(Height/1080* 904)
    		vY_Life90:= Y+Round(Height/1080* 894)
    		vY_Life95:= Y+Round(Height/1080* 884)
    		;~ ES Coords
    		vX_ES:=	    X+Round(2560 /1920* 170)
    		vY_ES20:=   Y+Round(Height/1080*1034)
    		vY_ES25:=   Y+Round(Height/1080*1024)
    		vY_ES30:=   Y+Round(Height/1080*1014)
    		vY_ES35:=   Y+Round(Height/1080*1004)
    		vY_ES40:=   Y+Round(Height/1080* 994)
    		vY_ES45:=   Y+Round(Height/1080* 984)
    		vY_ES50:=   Y+Round(Height/1080* 974)
    		vY_ES55:=   Y+Round(Height/1080* 964)
    		vY_ES60:=   Y+Round(Height/1080* 954)
    		vY_ES65:=   Y+Round(Height/1080* 944)
    		vY_ES70:=   Y+Round(Height/1080* 934)
    		vY_ES75:=   Y+Round(Height/1080* 924)
    		vY_ES80:=   Y+Round(Height/1080* 914)
    		vY_ES85:=   Y+Round(Height/1080* 904)
    		vY_ES90:=   Y+Round(Height/1080* 894)
    		vY_ES95:=   Y+Round(Height/1080* 884)
    		;~ Mana Coords
    		vX_Mana:=   X+Round(Width /1920*1825)
    		vY_Mana20:= Y+Round(Height/1080*1034)
    		vY_Mana25:= Y+Round(Height/1080*1024)
    		vY_Mana30:= Y+Round(Height/1080*1014)
    		vY_Mana35:= Y+Round(Height/1080*1004)
    		vY_Mana40:= Y+Round(Height/1080* 994)
    		vY_Mana45:= Y+Round(Height/1080* 984)
    		vY_Mana50:= Y+Round(Height/1080* 974)
    		vY_Mana55:= Y+Round(Height/1080* 964)
    		vY_Mana60:= Y+Round(Height/1080* 954)
    		vY_Mana65:= Y+Round(Height/1080* 944)
    		vY_Mana70:= Y+Round(Height/1080* 934)
    		vY_Mana75:= Y+Round(Height/1080* 924)
    		vY_Mana80:= Y+Round(Height/1080* 914)
    		vY_Mana85:= Y+Round(Height/1080* 904)
    		vY_Mana90:= Y+Round(Height/1080* 894)
    		vY_Mana95:= Y+Round(Height/1080* 884)
    	}
    	
    	;~ IfWinExist, ahk_class POEWindowClass 
    	;~ {
    		;~ WinActivate, ahk_class POEWindowClass
    	;~ }
    	
    	;~ Life Flasks
    	pixelgetcolor, varLife20, vX_Life, vY_Life20
    	pixelgetcolor, varLife25, vX_Life, vY_Life25
    	pixelgetcolor, varLife30, vX_Life, vY_Life30
    	pixelgetcolor, varLife35, vX_Life, vY_Life35
    	pixelgetcolor, varLife40, vX_Life, vY_Life40
    	pixelgetcolor, varLife45, vX_Life, vY_Life45
    	pixelgetcolor, varLife50, vX_Life, vY_Life50
    	pixelgetcolor, varLife55, vX_Life, vY_Life55
    	pixelgetcolor, varLife60, vX_Life, vY_Life60
    	pixelgetcolor, varLife65, vX_Life, vY_Life65
    	pixelgetcolor, varLife70, vX_Life, vY_Life70
    	pixelgetcolor, varLife75, vX_Life, vY_Life75
    	pixelgetcolor, varLife80, vX_Life, vY_Life80
    	pixelgetcolor, varLife85, vX_Life, vY_Life85
    	pixelgetcolor, varLife90, vX_Life, vY_Life90
    	pixelgetcolor, varLife95, vX_Life, vY_Life95
    	
    	IniWrite, %varLife20%, settings.ini, Life Colors, Life20 %A_Space%
    	IniWrite, %varLife25%, settings.ini, Life Colors, Life25 %A_Space%
    	IniWrite, %varLife30%, settings.ini, Life Colors, Life30 %A_Space%
    	IniWrite, %varLife35%, settings.ini, Life Colors, Life35 %A_Space%
    	IniWrite, %varLife40%, settings.ini, Life Colors, Life40 %A_Space%
    	IniWrite, %varLife45%, settings.ini, Life Colors, Life45 %A_Space%
    	IniWrite, %varLife50%, settings.ini, Life Colors, Life50 %A_Space%
    	IniWrite, %varLife55%, settings.ini, Life Colors, Life55 %A_Space%
    	IniWrite, %varLife60%, settings.ini, Life Colors, Life60 %A_Space%
    	IniWrite, %varLife65%, settings.ini, Life Colors, Life65 %A_Space%
    	IniWrite, %varLife70%, settings.ini, Life Colors, Life70 %A_Space%
    	IniWrite, %varLife75%, settings.ini, Life Colors, Life75 %A_Space%
    	IniWrite, %varLife80%, settings.ini, Life Colors, Life80 %A_Space%
    	IniWrite, %varLife85%, settings.ini, Life Colors, Life85 %A_Space%
    	IniWrite, %varLife90%, settings.ini, Life Colors, Life90 %A_Space%
    	IniWrite, %varLife95%, settings.ini, Life Colors, Life95 %A_Space%
    	
    	IniWrite, %SliderLife1%, settings.ini, Life Triggers, SliderLife1 %A_Space%
    	IniWrite, %SliderLife2%, settings.ini, Life Triggers, SliderLife2 %A_Space%
    	IniWrite, %SliderLife3%, settings.ini, Life Triggers, SliderLife3 %A_Space%
    	IniWrite, %SliderLife4%, settings.ini, Life Triggers, SliderLife4 %A_Space%
    	IniWrite, %SliderLife5%, settings.ini, Life Triggers, SliderLife5 %A_Space%
    	
    	loop 5{
    		if (SliderLife%A_Index%=1){
    			IniWrite, 1, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=2){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=3){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=4){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=5){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=6){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=7){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=8){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=9){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=10){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=11){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=12){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=13){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=14){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=15){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=16){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}else if (SliderLife%A_Index%=17){
    			IniWrite, 0, settings.ini, Life Triggers, DisableLife%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Life Triggers, TriggerLife%A_Index%90 %A_Space%
    			IniWrite, 1, settings.ini, Life Triggers, TriggerLife%A_Index%95 %A_Space%
    		}
    	}	
    	
    	;~ ES Flasks
    	pixelgetcolor, varES20, vX_ES, vY_ES20
    	pixelgetcolor, varES25, vX_ES, vY_ES25
    	pixelgetcolor, varES30, vX_ES, vY_ES30
    	pixelgetcolor, varES35, vX_ES, vY_ES35
    	pixelgetcolor, varES40, vX_ES, vY_ES40
    	pixelgetcolor, varES45, vX_ES, vY_ES45
    	pixelgetcolor, varES50, vX_ES, vY_ES50
    	pixelgetcolor, varES55, vX_ES, vY_ES55
    	pixelgetcolor, varES60, vX_ES, vY_ES60
    	pixelgetcolor, varES65, vX_ES, vY_ES65
    	pixelgetcolor, varES70, vX_ES, vY_ES70
    	pixelgetcolor, varES75, vX_ES, vY_ES75
    	pixelgetcolor, varES80, vX_ES, vY_ES80
    	pixelgetcolor, varES85, vX_ES, vY_ES85
    	pixelgetcolor, varES90, vX_ES, vY_ES90
    	pixelgetcolor, varES95, vX_ES, vY_ES95
    	
    	IniWrite, %varES20%, settings.ini, ES Colors, ES20 %A_Space%
    	IniWrite, %varES25%, settings.ini, ES Colors, ES25 %A_Space%
    	IniWrite, %varES30%, settings.ini, ES Colors, ES30 %A_Space%
    	IniWrite, %varES35%, settings.ini, ES Colors, ES35 %A_Space%
    	IniWrite, %varES40%, settings.ini, ES Colors, ES40 %A_Space%
    	IniWrite, %varES45%, settings.ini, ES Colors, ES45 %A_Space%
    	IniWrite, %varES50%, settings.ini, ES Colors, ES50 %A_Space%
    	IniWrite, %varES55%, settings.ini, ES Colors, ES55 %A_Space%
    	IniWrite, %varES60%, settings.ini, ES Colors, ES60 %A_Space%
    	IniWrite, %varES65%, settings.ini, ES Colors, ES65 %A_Space%
    	IniWrite, %varES70%, settings.ini, ES Colors, ES70 %A_Space%
    	IniWrite, %varES75%, settings.ini, ES Colors, ES75 %A_Space%
    	IniWrite, %varES80%, settings.ini, ES Colors, ES80 %A_Space%
    	IniWrite, %varES85%, settings.ini, ES Colors, ES85 %A_Space%
    	IniWrite, %varES90%, settings.ini, ES Colors, ES90 %A_Space%
    	IniWrite, %varES95%, settings.ini, ES Colors, ES95 %A_Space%
    	
    	IniWrite, %SliderES1%, settings.ini, ES Triggers, SliderES1 %A_Space%
    	IniWrite, %SliderES2%, settings.ini, ES Triggers, SliderES2 %A_Space%
    	IniWrite, %SliderES3%, settings.ini, ES Triggers, SliderES3 %A_Space%
    	IniWrite, %SliderES4%, settings.ini, ES Triggers, SliderES4 %A_Space%
    	IniWrite, %SliderES5%, settings.ini, ES Triggers, SliderES5 %A_Space%
    	
    	loop 5{
    		if (SliderES%A_Index%=1){
    			IniWrite, 1, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=2){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=3){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=4){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=5){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=6){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=7){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=8){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=9){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=10){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=11){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=12){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=13){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=14){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=15){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=16){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}else if (SliderES%A_Index%=17){
    			IniWrite, 0, settings.ini, ES Triggers, DisableES%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, ES Triggers, TriggerES%A_Index%90 %A_Space%
    			IniWrite, 1, settings.ini, ES Triggers, TriggerES%A_Index%95 %A_Space%
    		}
    	}
    
    	;~ Mana Flasks
    	pixelgetcolor, varMana20, vX_Mana, vY_Mana20
    	pixelgetcolor, varMana25, vX_Mana, vY_Mana25
    	pixelgetcolor, varMana30, vX_Mana, vY_Mana30
    	pixelgetcolor, varMana35, vX_Mana, vY_Mana35
    	pixelgetcolor, varMana40, vX_Mana, vY_Mana40
    	pixelgetcolor, varMana45, vX_Mana, vY_Mana45
    	pixelgetcolor, varMana50, vX_Mana, vY_Mana50
    	pixelgetcolor, varMana55, vX_Mana, vY_Mana55
    	pixelgetcolor, varMana60, vX_Mana, vY_Mana60
    	pixelgetcolor, varMana65, vX_Mana, vY_Mana65
    	pixelgetcolor, varMana70, vX_Mana, vY_Mana70
    	pixelgetcolor, varMana75, vX_Mana, vY_Mana75
    	pixelgetcolor, varMana80, vX_Mana, vY_Mana80
    	pixelgetcolor, varMana85, vX_Mana, vY_Mana85
    	pixelgetcolor, varMana90, vX_Mana, vY_Mana90
    	pixelgetcolor, varMana95, vX_Mana, vY_Mana95
    	
    	IniWrite, %varMana20%, settings.ini, Mana Colors, Mana20 %A_Space%
    	IniWrite, %varMana25%, settings.ini, Mana Colors, Mana25 %A_Space%
    	IniWrite, %varMana30%, settings.ini, Mana Colors, Mana30 %A_Space%
    	IniWrite, %varMana35%, settings.ini, Mana Colors, Mana35 %A_Space%
    	IniWrite, %varMana40%, settings.ini, Mana Colors, Mana40 %A_Space%
    	IniWrite, %varMana45%, settings.ini, Mana Colors, Mana45 %A_Space%
    	IniWrite, %varMana50%, settings.ini, Mana Colors, Mana50 %A_Space%
    	IniWrite, %varMana55%, settings.ini, Mana Colors, Mana55 %A_Space%
    	IniWrite, %varMana60%, settings.ini, Mana Colors, Mana60 %A_Space%
    	IniWrite, %varMana65%, settings.ini, Mana Colors, Mana65 %A_Space%
    	IniWrite, %varMana70%, settings.ini, Mana Colors, Mana70 %A_Space%
    	IniWrite, %varMana75%, settings.ini, Mana Colors, Mana75 %A_Space%
    	IniWrite, %varMana80%, settings.ini, Mana Colors, Mana80 %A_Space%
    	IniWrite, %varMana85%, settings.ini, Mana Colors, Mana85 %A_Space%
    	IniWrite, %varMana90%, settings.ini, Mana Colors, Mana90 %A_Space%
    	IniWrite, %varMana95%, settings.ini, Mana Colors, Mana95 %A_Space%
    	
    	IniWrite, %SliderMana1%, settings.ini, Mana Triggers, SliderMana1 %A_Space%
    	IniWrite, %SliderMana2%, settings.ini, Mana Triggers, SliderMana2 %A_Space%
    	IniWrite, %SliderMana3%, settings.ini, Mana Triggers, SliderMana3 %A_Space%
    	IniWrite, %SliderMana4%, settings.ini, Mana Triggers, SliderMana4 %A_Space%
    	IniWrite, %SliderMana5%, settings.ini, Mana Triggers, SliderMana5 %A_Space%
    	
    	loop 5{
    		if (SliderMana%A_Index%=1){
    			IniWrite, 1, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=2){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=3){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=4){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=5){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=6){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=7){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=8){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=9){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=10){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=11){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=12){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=13){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=14){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=15){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=16){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}else if (SliderMana%A_Index%=17){
    			IniWrite, 0, settings.ini, Mana Triggers, DisableMana%A_Index% %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%20 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%25 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%30 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%35 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%40 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%45 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%50 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%55 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%60 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%65 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%70 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%75 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%80 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%85 %A_Space%
    			IniWrite, 0, settings.ini, Mana Triggers, TriggerMana%A_Index%90 %A_Space%
    			IniWrite, 1, settings.ini, Mana Triggers, TriggerMana%A_Index%95 %A_Space%
    		}
    	}
    	
    	;~ Mana Flasks
    	;~ pixelgetcolor, varMana10, vX_Mana, vY_Mana10
    	
    	;~ IniWrite, %varMana10%, settings.ini, Mana Colors, Mana10 %A_Space%
    	
    	;~ IniWrite, %Radiobox1Mana10%%Radiobox2Mana10%%Radiobox3Mana10%%Radiobox4Mana10%%Radiobox5Mana10%, settings.ini, Mana Triggers, TriggerMana10 %A_Space%
    	
    	;~ Hotkeys 
    	IniWrite, %guihotkeyOptions%, settings.ini, hotkeys, Options %A_Space%
    	IniWrite, %guihotkeyAutoQuit%, settings.ini, hotkeys, AutoQuit %A_Space%
    	IniWrite, %guihotkeyAutoFlask%, settings.ini, hotkeys, AutoFlask %A_Space%
    	IniWrite, %guihotkeyAutoQuicksilver%, settings.ini, hotkeys, AutoQuicksilver %A_Space%
    	IniWrite, %guihotkeyQuickPortal%, settings.ini, hotkeys, QuickPortal %A_Space%
    	IniWrite, %guihotkeyGemSwap%, settings.ini, hotkeys, GemSwap %A_Space%
    	IniWrite, %guihotkeyGetMouseCoords%, settings.ini, hotkeys, GetMouseCoords %A_Space%
    	IniWrite, %hotkeyMove%, settings.ini, hotkeys, Move %A_Space%
    	IniWrite, %hotkeyCloseAllUI%, settings.ini, hotkeys, CloseAllUI %A_Space%
    	IniWrite, %hotkeyInventory%, settings.ini, hotkeys, Inventory %A_Space%
    	IniWrite, %hotkeyWeaponSwapKey%, settings.ini, hotkeys, WeaponSwapKey %A_Space%
    	
    	;~ Flask Cooldowns
    	IniWrite, %CooldownFlask1%, settings.ini, Flask Cooldowns, CooldownFlask1 %A_Space%
    	IniWrite, %CooldownFlask2%, settings.ini, Flask Cooldowns, CooldownFlask2 %A_Space%
    	IniWrite, %CooldownFlask3%, settings.ini, Flask Cooldowns, CooldownFlask3 %A_Space%
    	IniWrite, %CooldownFlask4%, settings.ini, Flask Cooldowns, CooldownFlask4 %A_Space%
    	IniWrite, %CooldownFlask5%, settings.ini, Flask Cooldowns, CooldownFlask5 %A_Space%	
    	
    	;~ Gem Swap
    	IniWrite, %Gem1X%, settings.ini, Gem Swap, Gem1X %A_Space%
    	IniWrite, %Gem1Y%, settings.ini, Gem Swap, Gem1Y %A_Space%
    	IniWrite, %Gem2X%, settings.ini, Gem Swap, Gem2X %A_Space%
    	IniWrite, %Gem2Y%, settings.ini, Gem Swap, Gem2Y %A_Space%
    	IniWrite, %WeaponSwap%, settings.ini, Gem Swap, WeaponSwap %A_Space%
    	
    	;~ Quick-Portal
    	IniWrite, %PortalScrollX%, settings.ini, Coordinates, PortalScrollX %A_Space%
    	IniWrite, %PortalScrollY%, settings.ini, Coordinates, PortalScrollY %A_Space%
    	
    	;~ Attack Flasks
    	IniWrite, %AttackKey1box1%%AttackKey1box2%%AttackKey1box3%%AttackKey1box4%%AttackKey1box5%, settings.ini, Attack Triggers, TriggerAttackKey1 %A_Space%
    	IniWrite, %AttackKey2box1%%AttackKey2box2%%AttackKey2box3%%AttackKey2box4%%AttackKey2box5%, settings.ini, Attack Triggers, TriggerAttackKey2 %A_Space%
    	
    	;~ Attack Keys
    	IniWrite, %AttackKey1%, settings.ini, Attack Keys, AttackKey1 %A_Space%
    	IniWrite, %AttackKey2%, settings.ini, Attack Keys, AttackKey2 %A_Space%
    	
    	;~ Quicksilver Flasks
    	IniWrite, %QuicksilverDelay%, settings.ini, Quicksilver, QuicksilverDelay %A_Space%
    	
    	IniWrite, %QuicksilverFlask1%, settings.ini, Quicksilver, Quicksilver1 %A_Space%
    	IniWrite, %QuicksilverFlask2%, settings.ini, Quicksilver, Quicksilver2 %A_Space%
    	IniWrite, %QuicksilverFlask3%, settings.ini, Quicksilver, Quicksilver3 %A_Space%
    	IniWrite, %QuicksilverFlask4%, settings.ini, Quicksilver, Quicksilver4 %A_Space%
    	IniWrite, %QuicksilverFlask5%, settings.ini, Quicksilver, Quicksilver5 %A_Space%
    	
    	IniWrite, %Quicksilver1%%Quicksilver2%%Quicksilver3%%Quicksilver4%%Quicksilver5%, settings.ini, Quicksilver, TriggerQuicksilver %A_Space%
    	
    	;~ CharacterTypeCheck
    	IniWrite, %TypeLife%, settings.ini, CharacterTypeCheck, Life %A_Space%
    	IniWrite, %TypeHybrid%, settings.ini, CharacterTypeCheck, Hybrid %A_Space%	
    	IniWrite, %TypeCi%, settings.ini, CharacterTypeCheck, Ci %A_Space%	
    	
    	;~ AutoQuit
    	IniWrite, %SliderQuit%, settings.ini, AutoQuit, SliderQuit %A_Space%	
    	
    	if (SliderQuit=1){
    		IniWrite, 1, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit50 %A_Space%
    	}else if (SliderQuit=2){
    		IniWrite, 0, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 1, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit50 %A_Space%
    	}else if (SliderQuit=3){
    		IniWrite, 0, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 1, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit50 %A_Space%
    	}else if (SliderQuit=4){
    		IniWrite, 0, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 1, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit50 %A_Space%
    	}else if (SliderQuit=5){
    		IniWrite, 0, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 1, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit50 %A_Space%
    	}else if (SliderQuit=6){
    		IniWrite, 0, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 1, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit50 %A_Space%
    	}else if (SliderQuit=7){
    		IniWrite, 0, settings.ini, AutoQuit, Quit20 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit25 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit30 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit35 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit40 %A_Space%
    		IniWrite, 0, settings.ini, AutoQuit, Quit45 %A_Space%
    		IniWrite, 1, settings.ini, AutoQuit, Quit50 %A_Space%
    	}
    	
    	IniWrite, %RadioCritQuit%, settings.ini, AutoQuit, CritQuit %A_Space%
    	IniWrite, %RadioNormalQuit%, settings.ini, AutoQuit, NormalQuit %A_Space%
    	
    	Run %A_ScriptDir%\GottaGoFast.ahk
    	readFromFile()
    	
    	return  
    }
    
    ;~ toggleOverlay(){
    ;~ toggleOverlayCommand:
    	;~ global
    	;~ Gui, Show,, Flask Settings
    	;~ processWarningFound:=0
    	;~ Gui, 6:Hide
    	;~ return
    ;~ }
    
    RefreshGUI:
    	IfWinExist, ahk_class POEWindowClass 
    	{
    		GuiControl, Enable, SaveBtn
    		GuiControl, Enable, UpdateHideoutBtn
    		GuiControl, Enable, UpdateOnCharBtn
    		GuiControl, Hide, RefreshBtn
    		Reload
    		varTextSave:=	 "Save"
    		varTextSaveHint:="Save only while on your character!"
    		varTextHideout:= "Get ALL Failsafe Colors"
    		varTextOnChar:=  "Get OnChar Failsafe Color"
    	}
    	else{
    		GuiControl, Disable, SaveBtn
    		GuiControl, Disable, UpdateHideoutBtn
    		GuiControl, Disable, UpdateOnCharBtn
    		GuiControl, Enable,  ResfreshBtn
    		varTextSave:=	 "Save `n(POE has to be running)"
    		varTextSaveHint:=""
    		varTextHideout:= "(POE has to be running)"
    		varTextOnChar:=  "(POE has to be running)"
    	}
    	GuiControl,, SaveBtn, 		   %varTextSave%
    	GuiControl,, UpdateHideoutBtn, %varTextHideout%
    	GuiControl,, UpdateOnCharBtn,  %varTextOnChar%
    	return
    
    updateHideout:
    	Gui, Submit, NoHide
    	IfWinExist, ahk_class POEWindowClass
    	{
    		WinActivate, ahk_class POEWindowClass
    		WinGetPos, X, Y, Width, Height  ;~ Uses the window found above.
    		vX_Hideout:=X+Round(Width /1920*1241)
    		vY_Hideout:=Y+Round(Height/1080* 951)
    		vX_OnChar:=	X+Round(2560 /1920*  41)
    		vY_OnChar:=	Y+Round(Height/1080* 915)
    	}
    	;~ IfWinExist, ahk_class POEWindowClass 
    	;~ {
    		;~ WinActivate, ahk_class POEWindowClass
    	;~ }
    	pixelgetcolor, varHideout, vX_Hideout, vY_Hideout	
    	IniWrite, %varHideout%, settings.ini, Failsafe Colors, Hideout %A_Space%
    	pixelgetcolor, varOnChar, vX_OnChar, vY_OnChar
    	IniWrite, %varOnChar%, settings.ini, Failsafe Colors, OnChar %A_Space%
    	readFromFile()
    	MsgBox, All Done! Happy hunting, Exile!
    	return
    	
    updateOnChar:
    	Gui, Submit, NoHide
    	IfWinExist, ahk_class POEWindowClass 
    	{
    		WinActivate, ahk_class POEWindowClass
    		WinGetPos,,, Width, Height  ;~ Uses the window found above.
    		vX_OnChar:=X+Round(2560 /1920* 41)
    		vY_OnChar:=Y+Round(Height/1080*915)
    	}
    	;~ IfWinExist, ahk_class POEWindowClass 
    	;~ {
    		;~ WinActivate, ahk_class POEWindowClass
    	;~ }
    	pixelgetcolor, varOnChar, vX_OnChar, vY_OnChar
    	IniWrite, %varOnChar%, settings.ini, Failsafe Colors, OnChar %A_Space%
    	readFromFile()
    	MsgBox, OnChar-Failsafe Done! Remember to return once you aquired your very first Hideout!
    	return
    	
    UpdateTypeLife:
    	Gui,Submit,NoHide
    	GuiControl,Show		,TypeLife
    	GuiControl,Hide		,TypeLifeInactive			
    	GuiControl,Hide		,TypeHybrid
    	GuiControl,Show		,TypeHybridInactive			
    	GuiControl,Hide		,TypeCi
    	GuiControl,Show		,TypeCiInactive
    	GuiControl,Show		,LifeOrbQuit1
    	GuiControl,Show		,LifeOrbQuit2
    	GuiControl,Hide		,ESOrbQuit1
    	GuiControl,Hide		,ESOrbQuit2
    	loop 5 {
    		if (SliderMana%A_Index%=1) && (QuicksilverFlask%A_Index%=0){
    			GuiControl,Show	,SliderLife%A_Index%
    			GuiControl,Show	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (SliderMana%A_Index%!=1){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%			
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Show	,SliderMana%A_Index%
    			GuiControl,Show	,ManaOrb%A_Index%
    			GuiControl,Show	,ManaFlask%A_Index%
    			GuiControl,Hide	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (QuicksilverFlask%A_Index%!=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Show	,QuicksilverFlask%A_Index%
    			GuiControl,Hide	,QuicksilverFlaskInactive%A_Index%
    		}
    	}
    	TypeLife:=	1
    	TypeHybrid:=0
    	TypeCi:=	0
    	readFromFile()
    	return
    	
    UpdateTypeHybrid:
    	Gui,Submit,NoHide
    	GuiControl,Hide		,TypeLife
    	GuiControl,Show		,TypeLifeInactive			
    	GuiControl,Show		,TypeHybrid
    	GuiControl,Hide		,TypeHybridInactive			
    	GuiControl,Hide		,TypeCi
    	GuiControl,Show		,TypeCiInactive
    	GuiControl,Show		,LifeOrbQuit1
    	GuiControl,Show		,LifeOrbQuit2
    	GuiControl,Hide		,ESOrbQuit1
    	GuiControl,Hide		,ESOrbQuit2
    	loop 5 {
    		if (SliderMana%A_Index%=1) && (QuicksilverFlask%A_Index%=0){
    			GuiControl,Show	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Show	,SliderES%A_Index%			
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Show	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (SliderMana%A_Index%!=1){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Show	,SliderMana%A_Index%
    			GuiControl,Show	,ManaOrb%A_Index%
    			GuiControl,Show	,ManaFlask%A_Index%
    			GuiControl,Hide	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (QuicksilverFlask%A_Index%!=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Show	,QuicksilverFlask%A_Index%
    			GuiControl,Hide	,QuicksilverFlaskInactive%A_Index%
    		}
    	}
    	TypeLife:=	0
    	TypeHybrid:=1
    	TypeCi:=	0
    	readFromFile()
    	return
    	
    UpdateTypeCi:
    	Gui,Submit,NoHide
    	GuiControl,Hide		,TypeLife
    	GuiControl,Show		,TypeLifeInactive			
    	GuiControl,Hide		,TypeHybrid
    	GuiControl,Show		,TypeHybridInactive			
    	GuiControl,Show		,TypeCi
    	GuiControl,Hide		,TypeCiInactive
    	GuiControl,Hide		,LifeOrbQuit1
    	GuiControl,Hide		,LifeOrbQuit2
    	GuiControl,Show		,ESOrbQuit1
    	GuiControl,Show		,ESOrbQuit2
    	loop 5 {
    		if (SliderMana%A_Index%=1) && (QuicksilverFlask%A_Index%=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Show	,SliderES%A_Index%			
    			GuiControl,Show	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (SliderMana%A_Index%!=1){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%			
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Show	,SliderMana%A_Index%
    			GuiControl,Show	,ManaOrb%A_Index%
    			GuiControl,Show	,ManaFlask%A_Index%
    			GuiControl,Hide	,ManaFlaskInactive%A_Index%
    			GuiControl,Hide	,QuicksilverFlask%A_Index%
    			GuiControl,Show	,QuicksilverFlaskInactive%A_Index%
    		}else if (QuicksilverFlask%A_Index%!=0){
    			GuiControl,Hide	,SliderLife%A_Index%
    			GuiControl,Hide	,LifeOrb%A_Index%
    			GuiControl,Hide	,SliderES%A_Index%			
    			GuiControl,Hide	,ESOrb%A_Index%
    			GuiControl,Hide	,HybridOrb%A_Index%
    			GuiControl,Hide	,SliderMana%A_Index%
    			GuiControl,Hide	,ManaOrb%A_Index%
    			GuiControl,Hide	,ManaFlask%A_Index%
    			GuiControl,Show	,ManaFlaskInactive%A_Index%
    			GuiControl,Show	,QuicksilverFlask%A_Index%
    			GuiControl,Hide	,QuicksilverFlaskInactive%A_Index%
    		}
    	}
    	TypeLife:=	0
    	TypeHybrid:=0
    	TypeCi:=	1
    	readFromFile()
    	return
    
    UpdateQuicksilver1:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,QuicksilverFlask1  
    	GuiControl,Show		,QuicksilverFlaskInactive1 
    	GuiControl,Enable	,AttackKey1box1
    	GuiControl,Enable	,AttackKey2box1
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife1
    		GuiControl,Show ,LifeOrb1
    		GuiControl,Hide ,SliderES1
    		GuiControl,Hide ,ESOrb1
    		GuiControl,Hide	,HybridOrb1
    		GuiControl,Hide ,SliderQuicksilver1		
    		GuiControl,Hide ,QuicksilverOrb1
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife1
    		GuiControl,Hide ,LifeOrb1
    		GuiControl,Show ,SliderES1
    		GuiControl,Hide ,ESOrb1
    		GuiControl,Show	,HybridOrb1
    		GuiControl,Hide ,SliderQuicksilver1		
    		GuiControl,Hide ,QuicksilverOrb1
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife1
    		GuiControl,Hide	,LifeOrb1
    		GuiControl,Show ,SliderES1
    		GuiControl,Show	,ESOrb1
    		GuiControl,Hide	,HybridOrb1
    		GuiControl,Hide ,SliderMana1		
    		GuiControl,Hide	,ManaOrb1
    	}
    	GuiControl,			,SliderLife1,1
    	GuiControl,			,SliderES1	,1
    	GuiControl,			,SliderMana1,1
    	QuicksilverFlask1:=	0
    	readFromFile()
    	return
    	
    UpdateQuicksilverInactive1:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,QuicksilverFlask1  
    	GuiControl,Hide		,QuicksilverFlaskInactive1
    	GuiControl,Hide		,ManaFlask1  
    	GuiControl,Show		,ManaFlaskInactive1
    
    	GuiControl,Hide		,SliderLife1
    	GuiControl,Hide		,LifeOrb1
    	GuiControl,Hide		,SliderES1
    	GuiControl,Hide		,ESOrb1
    	GuiControl,Hide		,HybridOrb1
    	GuiControl,Hide		,SliderMana1		
    	GuiControl,Hide		,ManaOrb1
    	GuiControl,Disable	,AttackKey1box1
    	GuiControl,Disable	,AttackKey2box1
    
    	GuiControl,			,SliderLife1,1
    	GuiControl,			,SliderES1	,1
    	GuiControl,			,SliderMana1,1
    	GuiControl,			,AttackKey1box1,0
    	GuiControl,			,AttackKey2box1,0
    	QuicksilverFlask1:=	1
    	readFromFile()
    	return
    	
    UpdateQuicksilver2:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,QuicksilverFlask2  
    	GuiControl,Show		,QuicksilverFlaskInactive2
    	GuiControl,Enable	,AttackKey1box2
    	GuiControl,Enable	,AttackKey2box2	
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife2
    		GuiControl,Show ,LifeOrb2
    		GuiControl,Hide ,SliderES2
    		GuiControl,Hide ,ESOrb2
    		GuiControl,Hide	,HybridOrb1
    		GuiControl,Hide ,SliderQuicksilver2		
    		GuiControl,Hide ,QuicksilverOrb2
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife2
    		GuiControl,Hide ,LifeOrb2
    		GuiControl,Show ,SliderES2
    		GuiControl,Hide ,ESOrb2
    		GuiControl,Show	,HybridOrb2
    		GuiControl,Hide ,SliderQuicksilver2		
    		GuiControl,Hide ,QuicksilverOrb2
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife2
    		GuiControl,Hide	,LifeOrb2
    		GuiControl,Show ,SliderES2
    		GuiControl,Show	,ESOrb2
    		GuiControl,Hide	,HybridOrb2
    		GuiControl,Hide ,SliderMana2		
    		GuiControl,Hide	,ManaOrb2
    	}
    	GuiControl,			,SliderLife2,1
    	GuiControl,			,SliderES2	,1
    	GuiControl,			,SliderMana2,1
    	QuicksilverFlask2:=	0
    	readFromFile()
    	return
    	
    UpdateQuicksilverInactive2:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,QuicksilverFlask2  
    	GuiControl,Hide		,QuicksilverFlaskInactive2
    	GuiControl,Hide		,ManaFlask2  
    	GuiControl,Show		,ManaFlaskInactive2
    
    	GuiControl,Hide 	,SliderLife2
    	GuiControl,Hide		,LifeOrb2
    	GuiControl,Hide 	,SliderES2
    	GuiControl,Hide		,ESOrb2
    	GuiControl,Hide		,HybridOrb2
    	GuiControl,Hide 	,SliderMana2		
    	GuiControl,Hide		,ManaOrb2
    	GuiControl,Disable	,AttackKey1box2
    	GuiControl,Disable	,AttackKey2box2
    
    	GuiControl,			,SliderLife2,1
    	GuiControl,			,SliderES2	,1
    	GuiControl,			,SliderMana2,1
    	GuiControl,			,AttackKey1box2,0
    	GuiControl,			,AttackKey2box2,0
    	QuicksilverFlask2:=	1
    	readFromFile()
    	return
    	
    UpdateQuicksilver3:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,QuicksilverFlask3  
    	GuiControl,Show		,QuicksilverFlaskInactive3
    	GuiControl,Enable	,AttackKey1box3
    	GuiControl,Enable	,AttackKey2box3	
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife3
    		GuiControl,Show ,LifeOrb3
    		GuiControl,Hide ,SliderES3
    		GuiControl,Hide ,ESOrb3
    		GuiControl,Hide	,HybridOrb3
    		GuiControl,Hide ,SliderQuicksilver3		
    		GuiControl,Hide ,QuicksilverOrb3
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife3
    		GuiControl,Hide ,LifeOrb3
    		GuiControl,Show ,SliderES3
    		GuiControl,Hide ,ESOrb3
    		GuiControl,Show	,HybridOrb3
    		GuiControl,Hide ,SliderQuicksilver3		
    		GuiControl,Hide ,QuicksilverOrb3
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife3
    		GuiControl,Hide	,LifeOrb3
    		GuiControl,Show ,SliderES3
    		GuiControl,Show	,ESOrb3
    		GuiControl,Hide	,HybridOrb3
    		GuiControl,Hide ,SliderMana3		
    		GuiControl,Hide	,ManaOrb3
    	}
    	GuiControl,			,SliderLife3,1
    	GuiControl,			,SliderES3	,1
    	GuiControl,			,SliderMana3,1
    	QuicksilverFlask3:=	0
    	readFromFile()
    	return
    	
    UpdateQuicksilverInactive3:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,QuicksilverFlask3  
    	GuiControl,Hide		,QuicksilverFlaskInactive3
    	GuiControl,Hide		,ManaFlask3  
    	GuiControl,Show		,ManaFlaskInactive3
    
    	GuiControl,Hide		,SliderLife3
    	GuiControl,Hide		,LifeOrb3
    	GuiControl,Hide		,SliderES3
    	GuiControl,Hide		,ESOrb3
    	GuiControl,Hide		,HybridOrb3
    	GuiControl,Hide		,SliderMana3		
    	GuiControl,Hide		,ManaOrb3
    	GuiControl,Disable	,AttackKey1box3
    	GuiControl,Disable	,AttackKey2box3
    
    	GuiControl,			,SliderLife3,1
    	GuiControl,			,SliderES3,1
    	GuiControl,			,SliderMana3,1
    	GuiControl,			,AttackKey1box3,0
    	GuiControl,			,AttackKey2box3,0
    	QuicksilverFlask3:=	1
    	readFromFile()
    	return
    	
    UpdateQuicksilver4:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,QuicksilverFlask4  
    	GuiControl,Show		,QuicksilverFlaskInactive4 
    	GuiControl,Enable	,AttackKey1box4
    	GuiControl,Enable	,AttackKey2box4
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife4
    		GuiControl,Show ,LifeOrb4
    		GuiControl,Hide ,SliderES4
    		GuiControl,Hide ,ESOrb4
    		GuiControl,Hide	,HybridOrb4
    		GuiControl,Hide ,SliderQuicksilver4		
    		GuiControl,Hide ,QuicksilverOrb4
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife4
    		GuiControl,Hide ,LifeOrb4
    		GuiControl,Show ,SliderES4
    		GuiControl,Hide ,ESOrb4
    		GuiControl,Show	,HybridOrb4
    		GuiControl,Hide ,SliderQuicksilver4		
    		GuiControl,Hide ,QuicksilverOrb4
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife4
    		GuiControl,Hide	,LifeOrb4
    		GuiControl,Show ,SliderES4
    		GuiControl,Show	,ESOrb4
    		GuiControl,Hide	,HybridOrb4
    		GuiControl,Hide ,SliderMana4		
    		GuiControl,Hide	,ManaOrb4
    	}
    	GuiControl,			,SliderLife4,1
    	GuiControl,			,SliderES4	,1
    	GuiControl,			,SliderMana4,1
    	QuicksilverFlask4:=	0
    	readFromFile()
    	return
    	
    UpdateQuicksilverInactive4:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,QuicksilverFlask4  
    	GuiControl,Hide		,QuicksilverFlaskInactive4
    	GuiControl,Hide		,ManaFlask4  
    	GuiControl,Show		,ManaFlaskInactive4
    
    	GuiControl,Hide		,SliderLife4
    	GuiControl,Hide		,LifeOrb4
    	GuiControl,Hide		,SliderES4
    	GuiControl,Hide		,ESOrb4
    	GuiControl,Hide		,HybridOrb4
    	GuiControl,Hide		,SliderMana4		
    	GuiControl,Hide		,ManaOrb4
    	GuiControl,Disable	,AttackKey1box4
    	GuiControl,Disable	,AttackKey2box4
    
    	GuiControl,			,SliderLife4,1
    	GuiControl,			,SliderES4	,1
    	GuiControl,			,SliderMana4,1
    	GuiControl,			,AttackKey1box4,0
    	GuiControl,			,AttackKey2box4,0
    	QuicksilverFlask4:=	1
    	readFromFile()
    	return
    	
    UpdateQuicksilver5:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,QuicksilverFlask5  
    	GuiControl,Show		,QuicksilverFlaskInactive5
    	GuiControl,Enable	,AttackKey1box5
    	GuiControl,Enable	,AttackKey2box5
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife5
    		GuiControl,Show ,LifeOrb5
    		GuiControl,Hide ,SliderES5
    		GuiControl,Hide ,ESOrb5
    		GuiControl,Hide	,HybridOrb5
    		GuiControl,Hide ,SliderQuicksilver5		
    		GuiControl,Hide ,QuicksilverOrb5
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife5
    		GuiControl,Hide ,LifeOrb5
    		GuiControl,Show ,SliderES5
    		GuiControl,Hide ,ESOrb5
    		GuiControl,Show	,HybridOrb5
    		GuiControl,Hide ,SliderQuicksilver5		
    		GuiControl,Hide ,QuicksilverOrb5
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife5
    		GuiControl,Hide	,LifeOrb5
    		GuiControl,Show ,SliderES5
    		GuiControl,Show	,ESOrb5
    		GuiControl,Hide	,HybridOrb5
    		GuiControl,Hide ,SliderMana5		
    		GuiControl,Hide	,ManaOrb5
    	}
    	GuiControl,			,SliderLife5,1
    	GuiControl,			,SliderES5	,1
    	GuiControl,			,SliderMana5,1
    	QuicksilverFlask5:=	0
    	readFromFile()
    	return
    	
    UpdateQuicksilverInactive5:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,QuicksilverFlask5  
    	GuiControl,Hide		,QuicksilverFlaskInactive5
    	GuiControl,Hide		,ManaFlask5  
    	GuiControl,Show		,ManaFlaskInactive5
    
    	GuiControl,Hide 	,SliderLife5
    	GuiControl,Hide		,LifeOrb5
    	GuiControl,Hide 	,SliderES5
    	GuiControl,Hide		,ESOrb5
    	GuiControl,Hide 	,SliderMana5		
    	GuiControl,Hide		,ManaOrb5
    	GuiControl,Hide		,HybridOrb5
    	GuiControl,Disable	,AttackKey1box5
    	GuiControl,Disable	,AttackKey2box5
    
    	GuiControl,			,SliderLife5,1
    	GuiControl,			,SliderES5	,1
    	GuiControl,			,SliderMana5,1
    	GuiControl,			,AttackKey1box5,0
    	GuiControl,			,AttackKey2box5,0
    	QuicksilverFlask5:=	1
    	readFromFile()
    	return
    
    UpdateMana1:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,ManaFlask1  
    	GuiControl,Show		,ManaFlaskInactive1 
    	GuiControl,Enable	,AttackKey1box1
    	GuiControl,Enable	,AttackKey2box1
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife1
    		GuiControl,Show ,LifeOrb1
    		GuiControl,Hide ,SliderES1
    		GuiControl,Hide ,ESOrb1
    		GuiControl,Hide	,HybridOrb1
    		GuiControl,Hide ,SliderMana1		
    		GuiControl,Hide ,ManaOrb1
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife1
    		GuiControl,Hide ,LifeOrb1
    		GuiControl,Show ,SliderES1
    		GuiControl,Hide ,ESOrb1
    		GuiControl,Show	,HybridOrb1
    		GuiControl,Hide ,SliderMana1		
    		GuiControl,Hide ,ManaOrb1
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife1
    		GuiControl,Hide	,LifeOrb1
    		GuiControl,Show ,SliderES1
    		GuiControl,Show	,ESOrb1
    		GuiControl,Hide	,HybridOrb1
    		GuiControl,Hide ,SliderMana1		
    		GuiControl,Hide	,ManaOrb1
    	}
    	GuiControl,			,SliderLife1,1
    	GuiControl,			,SliderES1	,1
    	GuiControl,			,SliderMana1,1
    	readFromFile()
    	return
    	
    UpdateManaInactive1:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,ManaFlask1  
    	GuiControl,Hide		,ManaFlaskInactive1
    	GuiControl,Hide		,QuicksilverFlask1  
    	GuiControl,Show		,QuicksilverFlaskInactive1
    	
    	GuiControl,Hide 	,SliderLife1
    	GuiControl,Hide		,LifeOrb1
    	GuiControl,Hide 	,SliderES1
    	GuiControl,Hide		,ESOrb1
    	GuiControl,Hide		,HybridOrb1
    	GuiControl,Show 	,SliderMana1		
    	GuiControl,Show		,ManaOrb1
    	GuiControl,Disable	,AttackKey1box1
    	GuiControl,Disable	,AttackKey2box1
    	
    	GuiControl,			,SliderLife1,1
    	GuiControl,			,SliderES1	,1
    	GuiControl,			,SliderMana1,1
    	GuiControl,			,AttackKey1box1,0
    	GuiControl,			,AttackKey2box1,0
    	readFromFile()
    	return
    
    UpdateMana2:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,ManaFlask2  
    	GuiControl,Show		,ManaFlaskInactive2
    	GuiControl,Enable	,AttackKey1box2
    	GuiControl,Enable	,AttackKey2box2	
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife2
    		GuiControl,Show ,LifeOrb2
    		GuiControl,Hide ,SliderES2
    		GuiControl,Hide ,ESOrb2
    		GuiControl,Hide	,HybridOrb2
    		GuiControl,Hide ,SliderMana2		
    		GuiControl,Hide ,ManaOrb2
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife2
    		GuiControl,Hide ,LifeOrb2
    		GuiControl,Show ,SliderES2
    		GuiControl,Hide ,ESOrb2
    		GuiControl,Show	,HybridOrb2
    		GuiControl,Hide ,SliderMana2		
    		GuiControl,Hide ,ManaOrb2
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife2
    		GuiControl,Hide	,LifeOrb2
    		GuiControl,Show ,SliderES2
    		GuiControl,Show	,ESOrb2
    		GuiControl,Hide	,HybridOrb2
    		GuiControl,Hide ,SliderMana2		
    		GuiControl,Hide	,ManaOrb2
    	}
    	GuiControl,			,SliderLife2,1
    	GuiControl,			,SliderES2	,1
    	GuiControl,			,SliderMana2,1
    	readFromFile()
    	return
    	
    UpdateManaInactive2:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,ManaFlask2  
    	GuiControl,Hide		,ManaFlaskInactive2
    	GuiControl,Hide		,QuicksilverFlask2  
    	GuiControl,Show		,QuicksilverFlaskInactive2
    
    	GuiControl,Hide		,SliderLife2
    	GuiControl,Hide		,LifeOrb2
    	GuiControl,Hide		,SliderES2
    	GuiControl,Hide		,ESOrb2
    	GuiControl,Hide		,HybridOrb2
    	GuiControl,Show		,SliderMana2		
    	GuiControl,Show		,ManaOrb2
    	GuiControl,Disable	,AttackKey1box2
    	GuiControl,Disable	,AttackKey2box2
    	
    	GuiControl,			,SliderLife2,1
    	GuiControl,			,SliderES2	,1
    	GuiControl,			,SliderMana2,1
    	GuiControl,			,AttackKey1box2,0
    	GuiControl,			,AttackKey2box2,0
    	readFromFile()
    	return
    	
    UpdateMana3:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,ManaFlask3  
    	GuiControl,Show		,ManaFlaskInactive3 
    	GuiControl,Enable	,AttackKey1box3
    	GuiControl,Enable	,AttackKey2box3
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife3
    		GuiControl,Show ,LifeOrb3
    		GuiControl,Hide ,SliderES3
    		GuiControl,Hide ,ESOrb3
    		GuiControl,Hide	,HybridOrb3
    		GuiControl,Hide ,SliderMana3		
    		GuiControl,Hide ,ManaOrb3
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife3
    		GuiControl,Hide ,LifeOrb3
    		GuiControl,Show ,SliderES3
    		GuiControl,Hide ,ESOrb3
    		GuiControl,Show	,HybridOrb3
    		GuiControl,Hide ,SliderMana3		
    		GuiControl,Hide ,ManaOrb3
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife3
    		GuiControl,Hide	,LifeOrb3
    		GuiControl,Show ,SliderES3
    		GuiControl,Show	,ESOrb3
    		GuiControl,Hide	,HybridOrb3
    		GuiControl,Hide ,SliderMana3		
    		GuiControl,Hide	,ManaOrb3
    	}
    	GuiControl,			,SliderLife3,1
    	GuiControl,			,SliderES3	,1
    	GuiControl,			,SliderMana3,1
    	readFromFile()
    	return
    	
    UpdateManaInactive3:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,ManaFlask3  
    	GuiControl,Hide		,ManaFlaskInactive3
    	GuiControl,Hide		,QuicksilverFlask3  
    	GuiControl,Show		,QuicksilverFlaskInactive3
    
    	GuiControl,Hide		,SliderLife3
    	GuiControl,Hide		,LifeOrb3
    	GuiControl,Hide		,SliderES3
    	GuiControl,Hide		,ESOrb3
    	GuiControl,Hide		,HybridOrb3
    	GuiControl,Show		,SliderMana3		
    	GuiControl,Show		,ManaOrb3
    	GuiControl,Disable	,AttackKey1box3
    	GuiControl,Disable	,AttackKey2box3
    
    	GuiControl,			,SliderLife3,1
    	GuiControl,			,SliderES3	,1
    	GuiControl,			,SliderMana3,1
    	GuiControl,			,AttackKey1box3,0
    	GuiControl,			,AttackKey2box3,0
    	readFromFile()
    	return
    	
    UpdateMana4:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,ManaFlask4  
    	GuiControl,Show		,ManaFlaskInactive4 
    	GuiControl,Enable	,AttackKey1box4
    	GuiControl,Enable	,AttackKey2box4
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife4
    		GuiControl,Show ,LifeOrb4
    		GuiControl,Hide ,SliderES4
    		GuiControl,Hide ,ESOrb4
    		GuiControl,Hide	,HybridOrb4
    		GuiControl,Hide ,SliderMana4		
    		GuiControl,Hide ,ManaOrb4
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife4
    		GuiControl,Hide ,LifeOrb4
    		GuiControl,Show ,SliderES4
    		GuiControl,Hide ,ESOrb4
    		GuiControl,Show	,HybridOrb4
    		GuiControl,Hide ,SliderMana4		
    		GuiControl,Hide ,ManaOrb4
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife4
    		GuiControl,Hide	,LifeOrb4
    		GuiControl,Show ,SliderES4
    		GuiControl,Show	,ESOrb4
    		GuiControl,Hide	,HybridOrb4
    		GuiControl,Hide ,SliderMana4		
    		GuiControl,Hide	,ManaOrb4
    	}
    	GuiControl,			,SliderLife4,1
    	GuiControl,			,SliderES4	,1
    	GuiControl,			,SliderMana4,1
    	readFromFile()
    	return
    	
    UpdateManaInactive4:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,ManaFlask4  
    	GuiControl,Hide		,ManaFlaskInactive4
    	GuiControl,Hide		,QuicksilverFlask4  
    	GuiControl,Show		,QuicksilverFlaskInactive4
    
    	GuiControl,Hide		,SliderLife4
    	GuiControl,Hide		,LifeOrb4
    	GuiControl,Hide		,SliderES4
    	GuiControl,Hide		,ESOrb4
    	GuiControl,Hide		,HybridOrb4
    	GuiControl,Show		,SliderMana4		
    	GuiControl,Show		,ManaOrb4
    	GuiControl,Disable	,AttackKey1box4
    	GuiControl,Disable	,AttackKey2box4
    
    	GuiControl,			,SliderLife4,1
    	GuiControl,			,SliderES4	,1
    	GuiControl,			,SliderMana4,1
    	GuiControl,			,AttackKey1box4,0
    	GuiControl,			,AttackKey2box4,0
    	readFromFile()
    	return
    	
    UpdateMana5:
    	;~ Clicked Ative Flask
    	Gui,Submit,NoHide
    	GuiControl,Hide		,ManaFlask5  
    	GuiControl,Show		,ManaFlaskInactive5
    	GuiControl,Enable	,AttackKey1box5
    	GuiControl,Enable	,AttackKey2box5	
    	if (TypeLife=1){
    		GuiControl,Show ,SliderLife5
    		GuiControl,Show ,LifeOrb5
    		GuiControl,Hide ,SliderES5
    		GuiControl,Hide ,ESOrb5
    		GuiControl,Hide	,HybridOrb5
    		GuiControl,Hide ,SliderMana5		
    		GuiControl,Hide ,ManaOrb5
    	}else if(TypeHybrid=1){
    		GuiControl,Show ,SliderLife5
    		GuiControl,Hide ,LifeOrb5
    		GuiControl,Show ,SliderES5
    		GuiControl,Hide ,ESOrb5
    		GuiControl,Show	,HybridOrb5
    		GuiControl,Hide ,SliderMana5		
    		GuiControl,Hide ,ManaOrb5
    	}else if(TypeCi=1){
    		GuiControl,Hide ,SliderLife5
    		GuiControl,Hide	,LifeOrb5
    		GuiControl,Show ,SliderES5
    		GuiControl,Show	,ESOrb5
    		GuiControl,Hide	,HybridOrb5
    		GuiControl,Hide ,SliderMana5		
    		GuiControl,Hide	,ManaOrb5
    	}
    	GuiControl,			,SliderLife5,1
    	GuiControl,			,SliderES5	,1
    	GuiControl,			,SliderMana5,1
    	readFromFile()
    	return
    	
    UpdateManaInactive5:
    	;~ Clicked Inactive Flask
    	Gui,Submit,NoHide
    	GuiControl,Show		,ManaFlask5  
    	GuiControl,Hide		,ManaFlaskInactive5
    	GuiControl,Hide		,QuicksilverFlask5  
    	GuiControl,Show		,QuicksilverFlaskInactive5
    
    	GuiControl,Hide		,SliderLife5
    	GuiControl,Hide		,LifeOrb5
    	GuiControl,Hide		,SliderES5
    	GuiControl,Hide		,ESOrb5
    	GuiControl,Hide		,HybridOrb5
    	GuiControl,Show		,SliderMana5		
    	GuiControl,Show		,ManaOrb5
    	GuiControl,Disable	,AttackKey1box5
    	GuiControl,Disable	,AttackKey2box5
    
    	GuiControl,			,SliderLife5,1
    	GuiControl,			,SliderES5	,1
    	GuiControl,			,SliderMana5,1
    	GuiControl,			,AttackKey1box5,0
    	GuiControl,			,AttackKey2box5,0
    	readFromFile()
    	return
    	
    LifeOrb1:
    	return
    LifeOrb2:
    	return
    LifeOrb3:
    	return
    LifeOrb4:
    	return
    LifeOrb5:
    	return
    ESOrb1:
    	return
    ESOrb2:
    	return
    ESOrb3:
    	return
    ESOrb4:
    	return
    ESOrb5:
    	return
    HybridOrb1:
    	return
    HybridOrb2:
    	return
    HybridOrb3:
    	return
    HybridOrb4:
    	return
    HybridOrb5:
    	return
    ManaOrb1:
    	return
    ManaOrb2:
    	return
    ManaOrb3:
    	return
    ManaOrb4:
    	return
    ManaOrb5:
    	return
    	
    SliderLife1:
        Gui,Submit,NoHide
        int := SliderLife1
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
    	val := Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Life
    			GuiControl,, Radiobox1QS, 0
    			GuiControl,, Radiobox1Mana10, 0
    		}else{
    			tooltip Deactivate Life Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderLife2:
        Gui,Submit,NoHide
        int := SliderLife2
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Life
    			GuiControl,, Radiobox2QS, 0
    			GuiControl,, Radiobox2Mana10, 0
    		}else{
    			tooltip Deactivate Life Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderLife3:
        Gui,Submit,NoHide
        int := SliderLife3
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Life
    			GuiControl,, Radiobox3QS, 0
    			GuiControl,, Radiobox3Mana10, 0
    		}else{
    			tooltip Deactivate Life Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderLife4:
        Gui,Submit,NoHide
        int := SliderLife4
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Life
    			GuiControl,, Radiobox4QS, 0
    			GuiControl,, Radiobox4Mana10, 0
    		}else{
    			tooltip Deactivate Life Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderLife5:
        Gui,Submit,NoHide
        int := SliderLife5
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra:=Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Life
    			GuiControl,, Radiobox5QS, 0
    			GuiControl,, Radiobox5Mana10, 0
    		}else{
    			tooltip Deactivate Life Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderES1:
        Gui,Submit,NoHide
        int := SliderES1
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
    	val := Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% ES
    			GuiControl,, Radiobox1QS, 0
    			GuiControl,, Radiobox1Mana10, 0
    		}else{
    			tooltip Deactivate ES Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderES2:
        Gui,Submit,NoHide
        int := SliderES2
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% ES
    			GuiControl,, Radiobox2QS, 0
    			GuiControl,, Radiobox2Mana10, 0
    		}else{
    			tooltip Deactivate ES Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderES3:
        Gui,Submit,NoHide
        int := SliderES3
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% ES
    			GuiControl,, Radiobox3QS, 0
    			GuiControl,, Radiobox3Mana10, 0
    		}else{
    			tooltip Deactivate ES Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderES4:
        Gui,Submit,NoHide
        int := SliderES4
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% ES
    			GuiControl,, Radiobox4QS, 0
    			GuiControl,, Radiobox4Mana10, 0
    		}else{
    			tooltip Deactivate ES Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderES5:
        Gui,Submit,NoHide
        int := SliderES5
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra:=Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% ES
    			GuiControl,, Radiobox5QS, 0
    			GuiControl,, Radiobox5Mana10, 0
    		}else{
    			tooltip Deactivate ES Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderMana1:
        Gui,Submit,NoHide
        int := SliderMana1
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
    	val := Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Mana
    			GuiControl,, Radiobox1QS, 0
    			GuiControl,, Radiobox1Mana10, 0
    		}else{
    			tooltip Deactivate Mana Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderMana2:
        Gui,Submit,NoHide
        int := SliderMana2
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Mana
    			GuiControl,, Radiobox2QS, 0
    			GuiControl,, Radiobox2Mana10, 0
    		}else{
    			tooltip Deactivate Mana Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderMana3:
        Gui,Submit,NoHide
        int := SliderMana3
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Mana
    			GuiControl,, Radiobox3QS, 0
    			GuiControl,, Radiobox3Mana10, 0
    		}else{
    			tooltip Deactivate Mana Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderMana4:
        Gui,Submit,NoHide
        int := SliderMana4
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra := Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Mana
    			GuiControl,, Radiobox4QS, 0
    			GuiControl,, Radiobox4Mana10, 0
    		}else{
    			tooltip Deactivate Mana Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderMana5:
        Gui,Submit,NoHide
        int := SliderMana5
    	if (int=1){
    		int:=10
    	}else if (int=2){
    		int:=20
    	}else if (int=3){
    		int:=25
    	}else if (int=4){
    		int:=30
    	}else if (int=5){
    		int:=35
    	}else if (int=6){
    		int:=40
    	}else if (int=7){
    		int:=45
    	}else if (int=8){
    		int:=50
    	}else if (int=9){
    		int:=55
    	}else if (int=10){
    		int:=60
    	}else if (int=11){
    		int:=65
    	}else if (int=12){
    		int:=70
    	}else if (int=13){
    		int:=75
    	}else if (int=14){
    		int:=80
    	}else if (int=15){
    		int:=85
    	}else if (int=16){
    		int:=90
    	}else if (int=17){
    		int:=95
    	}
        fra:=Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (val>=20){
    			tooltip %val%`% Mana
    			GuiControl,, Radiobox5QS, 0
    			GuiControl,, Radiobox5Mana10, 0
    		}else{
    			tooltip Deactivate Mana Trigger
    		}
    	}
        SetTimer, RemoveToolTip, 500
    return
    
    SliderQuit:
    	Gui,Submit,NoHide
        int := SliderQuit
    	if (int=1){
    		int:=20
    	}else if (int=2){
    		int:=25
    	}else if (int=3){
    		int:=30
    	}else if (int=4){
    		int:=35
    	}else if (int=5){
    		int:=40
    	}else if (int=6){
    		int:=45
    	}else if (int=7){
    		int:=50
    	}
        fra:=Mod(int, 10)
        val:=Floor(int)
    	if GetKeyState("LButton","P") || GetKeyState("Left","P") || GetKeyState("Right","P")  || GetKeyState("Up","P") || GetKeyState("Down","P")|| GetKeyState("WheelDown","P")  || GetKeyState("WheelUp","P"){
    		if (TypeLife=1) || (TypeHybrid=1){
    			Tooltip %val%`% Life
    		}else if (TypeCi=1){
    			Tooltip %val%`% ES
    		}	
    	}
        SetTimer, RemoveToolTip, 500
    	return
    
    RemoveToolTip:
        SetTimer, RemoveToolTip, Off
        ToolTip
    	return
    
    return
    Maybe somebody have a use for the workaround.

    cheers

    Edit: Forgot to mention that you have to do the same changes in the "GottaGoFast"-AHK-Script for the Quicksilver use.
    Last edited by Gutsuu; 04-12-2019 at 05:56 AM.

  9. #69
    Justq's Avatar Member
    Reputation
    1
    Join Date
    Aug 2017
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Aldoesk. can you exdend the autoquit 10%-100%? tryed already to chage in code but not succses

  10. #70
    xde's Avatar Member
    Reputation
    1
    Join Date
    Jul 2015
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Going to try this one out.

    Thank you so much, I have been looking ever since Gurud stopped updating since it was the best, easiest to use script out there with very low chance for ban.

  11. #71
    Kinosix's Avatar Member
    Reputation
    3
    Join Date
    May 2012
    Posts
    94
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do you guys get defensive flasks to work? like granites and such. also is there an option to have it detect seethings and such? seems like im manually having to use most of my flasks prob due to user error on the setup.

  12. #72
    Forumuser1000's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2017
    Posts
    166
    Thanks G/R
    69/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kinosix View Post
    how do you guys get defensive flasks to work? like granites and such. also is there an option to have it detect seethings and such? seems like im manually having to use most of my flasks prob due to user error on the setup.
    The program only advertises that it does mana, health & quicksilver flasks.

  13. #73
    Kinosix's Avatar Member
    Reputation
    3
    Join Date
    May 2012
    Posts
    94
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Forumuser1000 View Post
    The program only advertises that it does mana, health & quicksilver flasks.
    "Supporting all kind of flasks, including Mana flasks."

    nah, says all kinds of flasks. but its good to have confirmation that defensive flasks are not supported. thanks!

  14. #74
    DeadCellxxx's Avatar Member
    Reputation
    2
    Join Date
    Dec 2017
    Posts
    24
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Forumuser1000 View Post
    The program only advertises that it does mana, health & quicksilver flasks.
    na i have been using this now since release and its great and works for all flasks you just set the health % or ci shield % you want it to go of at im using 1 health pot and 2 defence and swift and man pot 1-3 are set for 80% 4 is my swift and mana at 30.... its great becasue i can use dps pots as well i can have them go off at a % or when i right click....i haven't had any problems with this at all i very happy that its working and really slim chance to lose my account...

    ya op had me a ver 1.1.1

    im hooked and ya play all day with it just got to fig out you pots works better with mana pots with short time i find since im eating so much mana

  15. #75
    hacker143's Avatar Active Member
    Reputation
    15
    Join Date
    Mar 2017
    Posts
    145
    Thanks G/R
    28/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DeadCellxxx View Post
    na i have been using this now since release and its great and works for all flasks you just set the health % or ci shield % you want it to go of at im using 1 health pot and 2 defence and swift and man pot 1-3 are set for 80% 4 is my swift and mana at 30.... its great becasue i can use dps pots as well i can have them go off at a % or when i right click....i haven't had any problems with this at all i very happy that its working and really slim chance to lose my account...

    ya op had me a ver 1.1.1

    im hooked and ya play all day with it just got to fig out you pots works better with mana pots with short time i find since im eating so much mana
    hey mate, which triggers faster to you? ver1.1.1 or the latest version 1.2.1?

    it seems mine is, ver1.2.1 has alot of delay in activating flask while in combat, while ver1.1.1, activate flask accurately to the % of life i set while in combat

    so how about urs? dont delete ur v1.1.1 and test and compare it to the lastest version

Page 5 of 22 FirstFirst 123456789 ... LastLast

Similar Threads

  1. [Selling] Selling PoE bot,Auto Quest,Map,Chaos Recipe,Lab
    By chenlaoban in forum Path of Exile Accounts Buy Sell Trade
    Replies: 0
    Last Post: 08-23-2018, 08:21 AM
  2. Is any working auto quit script?
    By metaldlugiewlosyma in forum PoE Bots and Programs
    Replies: 22
    Last Post: 08-20-2017, 05:11 AM
  3. [Selling] Pokemon Bot for sale! Auto Catch ✔ Auto Poke-stop ✔ Auto Walk and More! ✔
    By elo.killers in forum Pokemon GO Buy Sell Trade
    Replies: 2
    Last Post: 08-03-2016, 07:51 PM
  4. PQR Arena auto-quit/join
    By superxdude in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 12-14-2013, 08:02 PM
  5. [NEW] Auto Userbar+Banner+More
    By Maree in forum Community Chat
    Replies: 16
    Last Post: 04-11-2009, 02:07 PM
All times are GMT -5. The time now is 09:17 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search