First of all excuse my english, I'm French...
So here's my problem. I found a script for a game and I started to edit him. I try few things and succeed what i want.
But with this problem i'm blocked.
I have a Settings.ini with "Suspend" but i want to add somethin like "SuspendWEchap" and "SuspendWTab" set to 1 if its activated or 0 if its not.
So I'm able to create those variable and read them with the .ini but my problem is that i dont know how to use them with a condition like
(isEchap & isTab are my variable from the Settings.ini 1 or 0.)
Code: Select all
#ifwinactive game.exe
{
If (isTab = 1)
{
~Tab::
suspend,permit
ToggleSuspend()
suspend
return
}
if (isEchap = 1)
{
~Esc::
suspend,permit
ToggleSuspend()
suspend
return
}
}
Code: Select all
~Tab:: If (isEchap = 1)
{
suspend,permit
ToggleSuspend()
suspend
}
return
Code: Select all
Hotkey, %isEsc%, isEsc1
...
isEsc1:
suspend,permit
ToggleSuspend()
suspend
return
And i want them to disable/enable the script because the script play with the mouse so if he's activated the navigation in the inventory/options is complicated.
But now when I use tab and esc in game it doesnt work anymore they only disable/enable the script :/
Is there another way to catch the key, with a condition and to keep them in game.
Thanks and again sorry for my english xD..