Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- F3::
- Suspend On
- gkzahl1 = NULL
- Loop, read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
- {
- If InStr(A_LoopReadLine, "Der Spieler ist in")
- {
- RegExMatch(A_LoopReadLine,"Der Spieler ist in Gebäudekomplex (.*)(\R)",gkzahl)
- }
- }
- if(gkzahl1 == "NULL" || gkzahl1 == "")
- {
- Suspend Off
- return
- }
- RegExMatch(gkzahl1,"(.*)\.(.*)" ,gkzahlsplit)
- IniRead, gktext, gebaeude.ini, %gkzahlsplit1%, %gkzahlsplit2%, Gebäudekomplex %gkzahl1% ist nicht bekannt
- Sleep 300
- SendInput t%gktext%{enter}
- Suspend Off
- return
Add Comment
Please, Sign In to add comment