kokom7
Active member
alberto98 said:kokom7 said:Hello :ugbase: members...
All of you can make a cleo like, automatically typing /afk if got this message
this the image:{FF6347}Anda telah memasuki AFK mode!, ketik /afk untuk lanjut main
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.. PFFH: , and i want this will be auto-on PFFH: :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!
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 , thanks...