[REQUEST] Auto Type /afk

Status
Not open for further replies.

kokom7

Active member
Joined
Nov 4, 2016
Messages
31
Reaction score
1
Location
United Kingdom
alberto98 said:
kokom7 said:
Hello   :ugbase:  members...
All of you can make a cleo like, automatically typing /afk if got this message

{FF6347}Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main
this the image:
H4iVjTm.png


yeah like that... if that message showed in chatbox, i want it automatically typing /afk , it's make me can sleep without typing /afk as shit..
Please i really need this..   :pPFFH: , and i want this will be auto-on  :pPFFH: :yesyes: :yesyes: :yesyes:

You can use autohotkey script for this.
1. Download autohotkey and intall it.
2. Right click on your desktop and create a new file with autohotkey type.
3. Delete contain and put it:
    Loop
{
   FileGetSize, Size, PUT HERE CHATLOG LOCATION\chatlog.txt
   If (Size > FileSize)
   {
       FileSize := Size
       Loop
       {
           FileReadLine, Read, PUT HERE CHATLOG LOCATION\chatlog.txt, % A_Index + LineIndex
           if ErrorLevel
           {
               LineIndex += A_Index - 1
               break
           }
           NewLines .= Read "`n"
       }
       if NewLines ~= "Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main"
     {
        SendInput t/afk{Enter}
     }
   }
   NewLines := ""
  Sleep, 500
}

thanks bro.. it's worked prefectly! :D

mistery said:
Code:
~F2::
setbatchlines, -1
setkeydelay, -1
Loop
{
   FileGetSize, Size, PUT HERE CHATLOG LOCATION\chatlog.txt
   If (Size > FileSize)
   {
       FileSize := Size
       Loop
       {
           FileReadLine, Read, PUT HERE CHATLOG LOCATION\chatlog.txt, % A_Index + LineIndex
           if ErrorLevel
           {
               LineIndex += A_Index - 1
               break
           }
           NewLines .= Read "`n"
       }
       if NewLines ~= "Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main"
     {
        SendInput {t}/afk{Enter}
     }
   }
   NewLines := ""
  Sleep, 500
}
F3::reload
return


i put activation,just in case
:) f2-on / f3-off



you too :D, thanks...
 
Status
Not open for further replies.
Top