Hallo,
arbeite derzeit in AHK an einem Hotkey System, wo man den Hotkey eingeben kann, welche Funktion dieser Hotkey hat und ob er aktiviert/deaktiviert sein soll.
Derzeit sieht es so aus, jedoch kriege ich In-Game keine Änderung..
Code
Hotkey1:
if(IsInChat())
Return
SendChat("%Text1%")
Return
Hotkey2:
if(IsInChat())
Return
SendChat("%Text2%")
Return
Hotkey3:
if(IsInChat())
Return
SendChat("%Text3%")
Return
Hotkey4:
if(IsInChat())
Return
SendChat("%Text4%")
Return
Hotkey5:
if(IsInChat())
Return
SendChat("%Text5%")
Return
Hotkey6:
if(IsInChat())
Return
SendChat("%Text6%")
Return
Hotkey7:
if(IsInChat())
Return
SendChat("%Text7%")
Return
Hotkey8:
if(IsInChat())
Return
SendChat("%Text8%")
Return
Hotkey9:
if(IsInChat())
Return
SendChat("%Text9%")
Return
Hotkey10:
if(IsInChat())
Return
SendChat("%Text10%")
Return
Hotkey11:
if(IsInChat())
Return
SendChat("%Text11%")
Return
Hotkey12:
if(IsInChat())
Return
SendChat("%Text12%")
Return
Hotkey13:
if(IsInChat())
Return
SendChat("%Text13%")
Return
Hotkey14:
if(IsInChat())
Return
SendChat("%Text14%")
Return
Hotkey15:
if(IsInChat())
Return
SendChat("%Text15%")
Return
Hotkey16:
if(IsInChat())
Return
SendChat("%Text16%")
Return
Hotkey17:
if(IsInChat())
Return
SendChat("%Text17%")
Return
Hotkey18:
if(IsInChat())
Return
SendChat("%Text18%")
Return
Hotkey19:
if(IsInChat())
Return
SendChat("%Text19%")
Return
Hotkey20:
if(IsInChat())
Return
SendChat("%Text20%")
Return
Alles anzeigen
Die Hotkeys werden auf jeden Fall gespeichert und geladen, sowie im GUI richtig angezeigt.
Jedoch gibt er keine Nachrichten aus..
Ladefunktion;
Code
IniRead, Hotkey1, Settings.ini, Hotkey, Hotkey1
IniRead, Hotkey2, Settings.ini, Hotkey, Hotkey2
IniRead, Hotkey3, Settings.ini, Hotkey, Hotkey3
IniRead, Hotkey4, Settings.ini, Hotkey, Hotkey4
IniRead, Hotkey5, Settings.ini, Hotkey, Hotkey5
IniRead, Hotkey6, Settings.ini, Hotkey, Hotkey6
IniRead, Hotkey7, Settings.ini, Hotkey, Hotkey7
IniRead, Hotkey8, Settings.ini, Hotkey, Hotkey8
IniRead, Hotkey9, Settings.ini, Hotkey, Hotkey9
IniRead, Hotkey10, Settings.ini, Hotkey, Hotkey10
IniRead, Hotkey11, Settings.ini, Hotkey, Hotkey11
IniRead, Hotkey12, Settings.ini, Hotkey, Hotkey12
IniRead, Hotkey13, Settings.ini, Hotkey, Hotkey13
IniRead, Hotkey14, Settings.ini, Hotkey, Hotkey14
IniRead, Hotkey15, Settings.ini, Hotkey, Hotkey15
IniRead, Hotkey16, Settings.ini, Hotkey, Hotkey16
IniRead, Hotkey17, Settings.ini, Hotkey, Hotkey17
IniRead, Hotkey18, Settings.ini, Hotkey, Hotkey18
IniRead, Hotkey19, Settings.ini, Hotkey, Hotkey19
IniRead, Hotkey20, Settings.ini, Hotkey, Hotkey20
IniRead, Text1, Settings.ini, Text, Text1
IniRead, Text2, Settings.ini, Text, Text2
IniRead, Text3, Settings.ini, Text, Text3
IniRead, Text4, Settings.ini, Text, Text4
IniRead, Text5, Settings.ini, Text, Text5
IniRead, Text6, Settings.ini, Text, Text6
IniRead, Text7, Settings.ini, Text, Text7
IniRead, Text8, Settings.ini, Text, Text8
IniRead, Text9, Settings.ini, Text, Text9
IniRead, Text10, Settings.ini, Text, Text10
IniRead, Text11, Settings.ini, Text, Text11
IniRead, Text12, Settings.ini, Text, Text12
IniRead, Text13, Settings.ini, Text, Text13
IniRead, Text14, Settings.ini, Text, Text14
IniRead, Text15, Settings.ini, Text, Text15
IniRead, Text16, Settings.ini, Text, Text16
IniRead, Text17, Settings.ini, Text, Text17
IniRead, Text18, Settings.ini, Text, Text18
IniRead, Text19, Settings.ini, Text, Text19
IniRead, Text20, Settings.ini, Text, Text20
Alles anzeigen