Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SendMode Input
- F9::
- Sleep, 1000
- Send, t/meth make{enter}
- Loop
- {
- FileGetSize, Size, C:\Users\kek\Documents\GTA San Andreas User Files\SAMP\chatlog.txt (Size > FileSize)
- {
- FileSize := Size
- Loop
- {
- FileReadLine, Read, C:\Users\kek\Documents\GTA San Andreas User Files\SAMP\chatlog.txt, % A_Index + LineIndex
- if ErrorLevel
- {
- LineIndex += A_Index - 1
- break
- }
- NewLines .= Read "`n"
- }
- if NewLines ~= "first ingredient"
- {
- Sleep, 3500
- WinActivate, GTA:SA:MP
- Send, t/meth add lithium{enter}
- }
- else if NewLines ~= "second ingredient"
- {
- Sleep, 3500
- WinActivate, GTA:SA:MP
- Send, t/meth add acetone{enter}
- }
- else if NewLines ~= "last ingredient"
- {
- Sleep, 3500
- WinActivate, GTA:SA:MP
- Send, t/meth add toluene{enter}
- }
- else if NewLines ~= "batch of meth"
- {
- Sleep, 3500
- WinActivate, GTA:SA:MP
- Send, t/meth produce{enter}
- }
- else if NewLines ~= "batch of meth"
- {
- Sleep, 3500
- WinActivate, GTA:SA:MP
- Send, t/meth make{enter}
- }
- else if NewLines ~= "123456789009876543211234567890"
- {
- WinActivate, GTA:SA:MP
- Send, t/q{enter}
- }
- }
- NewLines := ""
- Sleep, 500
- }
- F10::Pause
Add Comment
Please, Sign In to add comment