Hey,
Ich melde mich mal wieder mit einem Problem die mich seit Tagen schon nervt, und zwar möchte
ich auf meinen Keybinder es so haben, das die Nutzer ihre Eigene Binds erstellen können nur das Problem ist, das ich keine Ahnung habe,
wie man diese speichert.
IniWrite und IniRead habe ich schon.
Code:
Code
ButtonEigeneBinds:
Gui,test3: Add, Hotkey, x12 y39 w90 h20 vBind1, %Bind1%
Gui,test3: Add, Hotkey, x12 y69 w90 h20 vBind2, %Bind2%
Gui,test3: Add, Hotkey, x12 y99 w90 h20 vBind3, %Bind3%
Gui,test3: Add, Hotkey, x12 y129 w90 h20 vBind4, %Bind4%
Gui,test3: Add, Hotkey, x12 y159 w90 h20 vBind5, %Bind5%
Gui,test3: Add, Hotkey, x12 y189 w90 h20 vBind6, %Bind6%
Gui,test3: Add, Hotkey, x12 y219 w90 h20 vBind7, %Bind7%
Gui,test3: Add, Hotkey, x12 y249 w90 h20 vBind8, %Bind8%
Gui,test3: Add, Hotkey, x12 y279 w90 h20 vBind9, %Bind9%
Gui,test3: Add, Hotkey, x12 y309 w90 h20 vBind10, %Bind10%
Gui,test3: Add, Hotkey, x12 y339 w90 h20 vBind11, %Bind11%
Gui,test3: Add, Hotkey, x12 y369 w90 h20 vBind12, %Bind12%
Gui,test3: Add, Hotkey, x12 y399 w90 h20 vBind13, %Bind13%
Gui,test3: Add, Hotkey, x12 y429 w90 h20 vBind14 %Bind14%
Gui,test3: Add, Hotkey, x12 y459 w90 h20 vBind15 %Bind15%
Gui,test3: Add, Edit, x112 y39 w450 h20 vBind1Text, %Bind1Text%
Gui,test3: Add, Edit, x112 y69 w450 h20 vBind2Text, %Bind2Text%
Gui,test3: Add, Edit, x112 y99 w450 h20 vBind3Text, %Bind3Text%
Gui,test3: Add, Edit, x112 y129 w450 h20 vBind4Text, %Bind4Text%
Gui,test3: Add, Edit, x112 y159 w450 h20 vBind5Text, %Bind5Text%
Gui,test3: Add, Edit, x112 y189 w450 h20 vBind6Text, %Bind6Text%
Gui,test3: Add, Edit, x112 y219 w450 h20 vBind7Text, %Bind7Text%
Gui,test3: Add, Edit, x112 y249 w450 h20 vBind8Text, %Bind8Text%
Gui,test3: Add, Edit, x112 y279 w450 h20 vBind9Text, %Bind9Text%
Gui,test3: Add, Edit, x112 y309 w450 h20 vBind10Text, %Bind10Text%
Gui,test3: Add, Edit, x112 y339 w450 h20 vBind11Text, %Bind11Text%
Gui,test3: Add, Edit, x112 y369 w450 h20 vBind12Text, %Bind12Text%
Gui,test3: Add, Edit, x112 y399 w450 h20 vBind13Text, %Bind13Text%
Gui,test3: Add, Edit, x112 y429 w450 h20 vBind14Text, %Bind14Text%
Gui,test3: Add, Edit, x112 y459 w450 h20 vBind15Text, %Bind15Text%
Gui,test3: Show, w500 h490, Eigene Binds
return
Hotkey, ~%Bind1%, Bind1, On
Hotkey, ~%Bind2%, Bind2, On
Hotkey, ~%Bind3%, Bind3, On
Hotkey, ~%Bind4%, Bind4, On
Hotkey, ~%Bind5%, Bind5, On
Hotkey, ~%Bind6%, Bind6, On
Hotkey, ~%Bind7%, Bind7, On
Hotkey, ~%Bind8%, Bind8, On
Hotkey, ~%Bind9%, Bind9, On
Hotkey, ~%Bind10%, Bind10, On
Hotkey, ~%Bind11%, Bind11, On
Hotkey, ~%Bind12%, Bind12, On
Hotkey, ~%Bind13%, Bind13, On
Hotkey, ~%Bind14%, Bind14, On
Hotkey, ~%Bind15%, Bind15, On
Bind1:
if (!IsInChat()) {
SendChat(""Bind1Text "")
}
return
Bind2:
if (!IsInChat()) {
SendChat(""Bind2Text "")
}
return
Bind3:
if (!IsInChat()) {
SendChat(""Bind3Text "")
}
return
Bind4:
if (!IsInChat()) {
SendChat(""Bind4Text "")
}
return
Bind5:
if (!IsInChat()) {
SendChat(""Bind5Text "")
}
return
Bind6:
if (!IsInChat()) {
SendChat(""Bind6Text "")
}
return
Bind7:
if (!IsInChat()) {
SendChat(""Bind7Text "")
}
return
Bind8:
if (!IsInChat()) {
SendChat(""Bind8Text "")
}
return
Bind9:
if (!IsInChat()) {
SendChat(""Bind9Text "")
}
return
Bind10:
if (!IsInChat()) {
SendChat(""Bind10Text "")
}
return
Bind11:
if (!IsInChat()) {
SendChat(""Bind11Text "")
}
return
Bind12:
if (!IsInChat()) {
SendChat(""Bind12Text "")
}
return
Bind13:
if (!IsInChat()) {
SendChat(""Bind13Text "")
}
return
Bind14:
if (!IsInChat()) {
SendChat(""Bind14Text "")
}
return
Bind15:
if (!IsInChat()) {
SendChat(""Bind15Text "")
}
Alles anzeigen